PandA-2024.02
Public Member Functions | Private Attributes
OpVertexSorter Class Reference

#include <op_graph.hpp>

Inheritance diagram for OpVertexSorter:
Inheritance graph
[legend]
Collaboration diagram for OpVertexSorter:
Collaboration graph
[legend]

Public Member Functions

 OpVertexSorter (const OpGraphConstRef op_graph)
 Constructor. More...
 
bool operator() (const vertex x, const vertex y) const
 Compare position of two vertices. More...
 

Private Attributes

OpGraphConstRef op_graph
 The operation graph to which vertices belong Note: this should be const, but can not because of assignment operator. More...
 

Detailed Description

Definition at line 628 of file op_graph.hpp.

Constructor & Destructor Documentation

◆ OpVertexSorter()

OpVertexSorter::OpVertexSorter ( const OpGraphConstRef  op_graph)
explicit

Constructor.

Parameters
op_graphis the operation graph to which vertices belong

Definition at line 291 of file op_graph.cpp.

Member Function Documentation

◆ operator()()

bool OpVertexSorter::operator() ( const vertex  x,
const vertex  y 
) const

Compare position of two vertices.

Parameters
xis the first step
yis the second step
Returns
true if x is necessary and y is unnecessary

Definition at line 295 of file op_graph.cpp.

References GET_NAME, and op_graph.

Field Documentation

◆ op_graph

OpGraphConstRef OpVertexSorter::op_graph
private

The operation graph to which vertices belong Note: this should be const, but can not because of assignment operator.

Definition at line 633 of file op_graph.hpp.

Referenced by operator()().


The documentation for this class was generated from the following files:

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