|
Aleph-w 7.10.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 260 of file tpl_net.H.
References Aleph::Net_Filt< Net >::p.
|
inlinenoexcept |
|
inlinenoexcept |
Return true if arc a has residual capacity with respect to p.
Definition at line 241 of file tpl_net.H.
References Aleph::Net_Filt< Net >::p.
|
inlinenoexcept |
Store an opaque cookie for compatibility with other iterators.
Definition at line 230 of file tpl_net.H.
References Aleph::Net_Filt< Net >::cookie.
| void* Aleph::Net_Filt< Net >::cookie = nullptr |
Definition at line 227 of file tpl_net.H.
Referenced by Aleph::Net_Filt< Net >::set_cookie().
| Net::Node* Aleph::Net_Filt< Net >::p = nullptr |
Definition at line 225 of file tpl_net.H.
Referenced by Aleph::Net_Filt< Net >::get_node(), and Aleph::Net_Filt< Net >::operator()().