#include <tpl_graph.H>
Public Member Functions | |
| Operate_On_Nodes (SN __sn=SN()) noexcept(std::is_nothrow_constructible< SN >::value) | |
Initialize the functor with the filter sa | |
| void | operator() (const GT &g, Operation op=Operation()) noexcept(noexcept(op)) |
| void | operator() (GT &g, Operation op=Operation()) noexcept(noexcept(op)) |
Functor that traverses the nodes of a graph and performs an operation.
This functor has three template parameters:
GT: the graph typeOperation: operation functor to be performed on each nodeSN: node filter
|
inlinenoexcept |
Call to operation on each node.
| [in] | g | the graph |
| [in] | op | the operation |
|
inlinenoexcept |
Call to operation on each node.
| [in] | g | the graph |
| [in] | op | the operation |