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

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

#include <grid.H>

Public Member Functions

void operator() (GT &g, typename GT::Arc *a, const size_t &row, const size_t &col)
 Called for each created arc.
 

Detailed Description

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

Default no-op operation for arc initialization.

Template Parameters
GTGraph type

Definition at line 104 of file grid.H.

Member Function Documentation

◆ operator()()

template<class GT >
void Aleph::Default_Operation_On_Arc< GT >::operator() ( GT g,
typename GT::Arc a,
const size_t row,
const size_t col 
)
inline

Called for each created arc.

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

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

Definition at line 116 of file grid.H.

References Aleph::maps().


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