PandA-2024.02
Public Member Functions | Private Attributes
cs_ordering_functor Struct Reference

Functor used to compare two vertices with respect to an order based on the control steps associated with the vertices. More...

Collaboration diagram for cs_ordering_functor:
Collaboration graph
[legend]

Public Member Functions

bool operator() (const vertex &a, const vertex &b) const
 functor function used to compare two vertices with respect to the control step associated with the vertices. More...
 
 cs_ordering_functor (const OpVertexMap< double > &o, const OpGraphConstRef &opGraph)
 Constructor. More...
 
 ~cs_ordering_functor ()=default
 Destructor. More...
 

Private Attributes

const OpVertexMap< double > & order
 copy of the order: control step associated with the vertices. More...
 
const OpGraphConstRefop_graph
 

Detailed Description

Functor used to compare two vertices with respect to an order based on the control steps associated with the vertices.

Definition at line 99 of file parametric_list_based.cpp.

Constructor & Destructor Documentation

◆ cs_ordering_functor()

cs_ordering_functor::cs_ordering_functor ( const OpVertexMap< double > &  o,
const OpGraphConstRef opGraph 
)
inline

Constructor.

Parameters
ois the order.
opGraphis the operation graph.

Definition at line 124 of file parametric_list_based.cpp.

◆ ~cs_ordering_functor()

cs_ordering_functor::~cs_ordering_functor ( )
default

Destructor.

Member Function Documentation

◆ operator()()

bool cs_ordering_functor::operator() ( const vertex a,
const vertex b 
) const
inline

functor function used to compare two vertices with respect to the control step associated with the vertices.

Parameters
ais the first vertex
bisthe second vertex
Returns
true when order(a) < order(b)

Definition at line 113 of file parametric_list_based.cpp.

References GET_NAME.

Field Documentation

◆ op_graph

const OpGraphConstRef& cs_ordering_functor::op_graph
private

Definition at line 104 of file parametric_list_based.cpp.

◆ order

const OpVertexMap<double>& cs_ordering_functor::order
private

copy of the order: control step associated with the vertices.

Definition at line 103 of file parametric_list_based.cpp.


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

Generated on Mon Feb 12 2024 13:03:48 for PandA-2024.02 by doxygen 1.8.13