|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Arc filter for residual traversal in flow networks. More...
#include <tpl_net.H>
Public Member Functions | |
| void | set_cookie (void *__cookie) noexcept |
| Store an opaque cookie for compatibility with other iterators. | |
| Net_Filt (typename Net::Node *s=nullptr) noexcept | |
Build a filter rooted at node s. | |
| bool | operator() (typename Net::Arc *a) const noexcept |
Return true if arc a has residual capacity with respect to p. | |
| bool | operator() (const Net &, typename Net::Arc *arc) noexcept |
| Filter hook used by some iterator adapters. | |
| Net::Node * | get_node (typename Net::Arc *a) const noexcept |
Return the opposite endpoint of arc a with respect to p. | |
Public Attributes | |
| Net::Node * | p = nullptr |
| void * | cookie = nullptr |
Arc filter for residual traversal in flow networks.
|
inlinenoexcept |
|
inlinenoexcept |
Return the opposite endpoint of arc a with respect to p.
Definition at line 210 of file tpl_net.H.
References Aleph::maps(), and Aleph::Net_Filt< Net >::p.
|
inlinenoexcept |
|
inlinenoexcept |
Return true if arc a has residual capacity with respect to p.
Definition at line 191 of file tpl_net.H.
References Aleph::maps(), and Aleph::Net_Filt< Net >::p.
Store an opaque cookie for compatibility with other iterators.
Definition at line 182 of file tpl_net.H.
References Aleph::Net_Filt< Net >::cookie, and Aleph::maps().
Definition at line 179 of file tpl_net.H.
Referenced by Aleph::Net_Filt< Net >::set_cookie().
Definition at line 177 of file tpl_net.H.
Referenced by Aleph::Net_Filt< Net >::get_node(), and Aleph::Net_Filt< Net >::operator()().