Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::Default_Operation_On_Node< GT > Struct Template Reference

Default no-op operation for node initialization. More...

#include <grid.H>

Public Member Functions

void operator() (GT &g, typename GT::Node *n, const size_t &row, const size_t &col)
 Called for each created node.
 

Detailed Description

template<class GT>
struct Aleph::Default_Operation_On_Node< GT >

Default no-op operation for node initialization.

Template Parameters
GTGraph type

Definition at line 83 of file grid.H.

Member Function Documentation

◆ operator()()

template<class GT >
void Aleph::Default_Operation_On_Node< GT >::operator() ( GT g,
typename GT::Node n,
const size_t row,
const size_t col 
)
inline

Called for each created node.

Default no-op implementation. Override to customize node initialization.

Parameters
[in]gThe graph
[in]nThe created node
[in]rowRow index of node (0-based)
[in]colColumn index of node (0-based)

Definition at line 95 of file grid.H.

References Aleph::maps().


The documentation for this struct was generated from the following file: