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

Arc filter for residual networks. More...

#include <tpl_netcost.H>

Public Member Functions

 Res_Filt (typename Net::Node *) noexcept
 Constructor (node parameter ignored).
 
 Res_Filt () noexcept=default
 Default constructor.
 
bool operator() (typename Net::Arc *a) const noexcept
 Check if arc has residual capacity.
 

Detailed Description

template<class Net>
struct Aleph::Res_Filt< Net >

Arc filter for residual networks.

Filters arcs based on residual capacity (cap > flow).

Template Parameters
NetNetwork type.

Definition at line 349 of file tpl_netcost.H.

Constructor & Destructor Documentation

◆ Res_Filt() [1/2]

template<class Net >
Aleph::Res_Filt< Net >::Res_Filt ( typename Net::Node )
inlinenoexcept

Constructor (node parameter ignored).

Definition at line 352 of file tpl_netcost.H.

◆ Res_Filt() [2/2]

template<class Net >
Aleph::Res_Filt< Net >::Res_Filt ( )
defaultnoexcept

Default constructor.

Member Function Documentation

◆ operator()()

template<class Net >
bool Aleph::Res_Filt< Net >::operator() ( typename Net::Arc a) const
inlinenoexcept

Check if arc has residual capacity.

Parameters
[in]aArc to check.
Returns
true if cap > flow, false otherwise.

Definition at line 362 of file tpl_netcost.H.


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