|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
As Weight_Of, and throws std::runtime_error at the call whose number, counted from 1 through a shared counter, is throw_at. More...
#include <graph_filter_catalog.H>
Public Member Functions | |
| T | operator() (typename GT::Arc *a) const |
| T | operator() (typename GT::Arc *a, typename GT::Node *) const |
Public Member Functions inherited from graph_filters::Weight_Of< GT, T > | |
| Distance_Type | operator() (typename GT::Arc *a) const |
| Distance_Type | operator() (typename GT::Arc *a, typename GT::Node *) const |
Public Attributes | |
| size_t * | calls = nullptr |
| size_t | throw_at = 0 |
Public Attributes inherited from graph_filters::Weight_Of< GT, T > | |
| const std::vector< T > * | weights = nullptr |
Additional Inherited Members | |
Public Types inherited from graph_filters::Weight_Of< GT, T > | |
| using | Distance_Type = T |
Static Public Attributes inherited from graph_filters::Weight_Of< GT, T > | |
| static const Distance_Type | Zero_Distance = T() |
| static const Distance_Type | Max_Distance = std::numeric_limits<T>::max() |
As Weight_Of, and throws std::runtime_error at the call whose number, counted from 1 through a shared counter, is throw_at.
Definition at line 259 of file graph_filter_catalog.H.
|
inline |
Definition at line 264 of file graph_filter_catalog.H.
References graph_filters::Throwing_Weight< GT, T >::calls, graph_filters::Weight_Of< GT, T >::operator()(), and graph_filters::Throwing_Weight< GT, T >::throw_at.
|
inline |
Definition at line 271 of file graph_filter_catalog.H.
| size_t* graph_filters::Throwing_Weight< GT, T >::calls = nullptr |
Definition at line 261 of file graph_filter_catalog.H.
Referenced by graph_filters::Throwing_Weight< GT, T >::operator()().
| size_t graph_filters::Throwing_Weight< GT, T >::throw_at = 0 |
Definition at line 262 of file graph_filter_catalog.H.
Referenced by graph_filters::Throwing_Weight< GT, T >::operator()().