PandA-2024.02
|
Functor used to compare two vertices with respect to a priority object. More...
#include <priority.hpp>
Public Member Functions | |
bool | operator() (const vertex &a, const vertex &b) const |
functor function used to compare two vertices with respect to the priority data structure. More... | |
priority_compare_functor (const refcount< priority_data< Type >> pri) | |
Constructor. More... | |
priority_compare_functor & | operator= (const priority_compare_functor &in) |
Copy assignment. More... | |
priority_compare_functor (const priority_compare_functor &in) | |
Copy constructor. More... | |
~priority_compare_functor ()=default | |
Destructor. More... | |
Private Attributes | |
const refcount< priority_data< Type > > | priority_values |
copy of the priority values More... | |
Functor used to compare two vertices with respect to a priority object.
Definition at line 170 of file priority.hpp.
|
inlineexplicit |
Constructor.
pri | is the priority data structure which associate at each vertex a priority value of type Type. |
Definition at line 188 of file priority.hpp.
|
inline |
Copy constructor.
Definition at line 203 of file priority.hpp.
|
default |
Destructor.
|
inline |
functor function used to compare two vertices with respect to the priority data structure.
a | is the first vertex |
b | is the second vertex |
Definition at line 178 of file priority.hpp.
References priority_data< dataType >::priority_values.
|
inline |
Copy assignment.
Definition at line 195 of file priority.hpp.
References priority_data< dataType >::priority_values, and priority_compare_functor< Type >::priority_values.
|
private |
copy of the priority values
Definition at line 214 of file priority.hpp.
Referenced by priority_compare_functor< Type >::operator=().