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

The key comparison functor for design flow step; it puts necessary steps before unnecessary ones; in this way steps which depend on unnecessary steps are executed later. More...

#include <design_flow_manager.hpp>

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

Public Member Functions

 DesignFlowStepNecessitySorter (const DesignFlowGraphConstRef _design_flow_graph)
 Constructor. More...
 
bool operator() (const vertex x, const vertex y) const
 Compare position of two vertices. More...
 

Private Attributes

const DesignFlowGraphConstRef design_flow_graph
 The design flow graph. More...
 

Detailed Description

The key comparison functor for design flow step; it puts necessary steps before unnecessary ones; in this way steps which depend on unnecessary steps are executed later.

Definition at line 66 of file design_flow_manager.hpp.

Constructor & Destructor Documentation

◆ DesignFlowStepNecessitySorter()

DesignFlowStepNecessitySorter::DesignFlowStepNecessitySorter ( const DesignFlowGraphConstRef  _design_flow_graph)
explicit

Constructor.

Parameters
design_flow_graphis the graph to which design flow steps belong

Definition at line 73 of file design_flow_manager.cpp.

Member Function Documentation

◆ operator()()

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

Compare position of two vertices.

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

Definition at line 78 of file design_flow_manager.cpp.

References design_flow_graph, SKIPPED, and UNNECESSARY.

Field Documentation

◆ design_flow_graph

const DesignFlowGraphConstRef DesignFlowStepNecessitySorter::design_flow_graph
private

The design flow graph.

Definition at line 70 of file design_flow_manager.hpp.

Referenced by operator()().


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

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