![]() |
The Gaudi Framework
v29r3 (fa547fc2)
|
#include <src/ControlFlowGraph.h>
Public Member Functions | |
AlgorithmNode (ControlFlowGraph &graph, Algorithm *algoPtr, unsigned int nodeIndex, unsigned int algoIndex, bool inverted, bool allPass) | |
Constructor. More... | |
void | initialize (const std::unordered_map< std::string, unsigned int > &algname_index_map) override |
Initialize. More... | |
Algorithm * | getAlgorithm () const |
get Algorithm representatives More... | |
int | updateState (AlgsExecutionStates &states, std::vector< int > &node_decisions) const override |
Method to set algos to CONTROLREADY, if possible. More... | |
void | printState (std::stringstream &output, AlgsExecutionStates &states, const std::vector< int > &node_decisions, const unsigned int &recursionLevel) const override |
Print a string representing the control flow state. More... | |
![]() | |
ControlFlowNode (ControlFlowGraph &graph, unsigned int nodeIndex, const std::string &name) | |
Constructor. More... | |
virtual | ~ControlFlowNode () |
Destructor. More... | |
const unsigned int & | getNodeIndex () const |
Get node index. More... | |
const std::string & | getNodeName () const |
Get node name. More... | |
Private Attributes | |
unsigned int | m_algoIndex |
The index of the algorithm. More... | |
std::string | m_algoName |
The name of the algorithm. More... | |
bool | m_inverted |
Whether the selection result is negated or not. More... | |
bool | m_allPass |
Whether the selection result is relevant or always "pass". More... | |
Algorithm * | m_algorithm |
Algorithm representative behind the AlgorithmNode. More... | |
Additional Inherited Members | |
![]() | |
ControlFlowGraph * | m_graph |
![]() | |
std::string | stateToString (const int &stateId) const |
Translation between state id and name. More... | |
![]() | |
unsigned int | m_nodeIndex |
std::string | m_nodeName |
Definition at line 101 of file ControlFlowGraph.h.
|
inline |
Constructor.
Definition at line 105 of file ControlFlowGraph.h.
|
inline |
get Algorithm representatives
Definition at line 117 of file ControlFlowGraph.h.
|
overridevirtual |
Initialize.
Implements concurrency::recursive_CF::ControlFlowNode.
Definition at line 97 of file ControlFlowGraph.cpp.
|
overridevirtual |
Print a string representing the control flow state.
Implements concurrency::recursive_CF::ControlFlowNode.
Definition at line 104 of file ControlFlowGraph.cpp.
|
overridevirtual |
Method to set algos to CONTROLREADY, if possible.
Implements concurrency::recursive_CF::ControlFlowNode.
Definition at line 114 of file ControlFlowGraph.cpp.
|
private |
The index of the algorithm.
Definition at line 126 of file ControlFlowGraph.h.
|
private |
The name of the algorithm.
Definition at line 128 of file ControlFlowGraph.h.
|
private |
Algorithm representative behind the AlgorithmNode.
Definition at line 134 of file ControlFlowGraph.h.
|
private |
Whether the selection result is relevant or always "pass".
Definition at line 132 of file ControlFlowGraph.h.
|
private |
Whether the selection result is negated or not.
Definition at line 130 of file ControlFlowGraph.h.