![]() |
The Gaudi Framework
master (d98a2936)
|
#include </builds/gaudi/Gaudi/GaudiHive/src/PRGraph/PrecedenceRulesGraph.h>
Public Member Functions | |
AlgorithmNode (PrecedenceRulesGraph &graph, Gaudi::Algorithm *algoPtr, unsigned int nodeIndex, unsigned int algoIndex) | |
Constructor. More... | |
bool | accept (IGraphVisitor &visitor) override |
Visitor entry point. More... | |
void | addParentNode (DecisionNode *node) |
Add a parent node. More... | |
const std::vector< DecisionNode * > & | getParentDecisionHubs () const |
Get all parent decision hubs. More... | |
void | addOutputDataNode (DataNode *node) |
Associate an AlgorithmNode, which is a data supplier for this one. More... | |
void | addInputDataNode (DataNode *node) |
Associate an AlgorithmNode, which is a data consumer of this one. More... | |
const std::vector< DataNode * > & | getOutputDataNodes () const |
Get all supplier nodes. More... | |
const std::vector< DataNode * > & | getInputDataNodes () const |
Get all consumer nodes. More... | |
void | setRank (float rank) |
Set Algorithm rank. More... | |
float | getRank () const |
Get Algorithm rank. More... | |
Gaudi::Algorithm * | getAlgorithm () const |
get Algorithm representatives More... | |
unsigned int | getAlgoIndex () const |
Get algorithm index. More... | |
void | setAsynchronous (bool value) |
Set the asynchronous flag. More... | |
bool | isAsynchronous () const |
Check if algorithm is asynchronous. More... | |
void | printState (std::stringstream &output, EventSlot &slot, const unsigned int &recursionLevel) const override |
Print a string representing the control flow state. More... | |
![]() | |
ControlFlowNode (PrecedenceRulesGraph &graph, unsigned int nodeIndex, const std::string &name) | |
Constructor. More... | |
virtual | ~ControlFlowNode ()=default |
Destructor. More... | |
const unsigned int & | getNodeIndex () const |
Get node index. More... | |
const std::string & | name () const |
Get node name. More... | |
Public Attributes | |
std::vector< DecisionNode * > | m_parents |
Control flow parents of an AlgorithmNode (DecisionNodes) More... | |
![]() | |
PrecedenceRulesGraph * | m_graph |
Private Attributes | |
Gaudi::Algorithm * | m_algorithm |
Algorithm representative behind the AlgorithmNode. More... | |
unsigned int | m_algoIndex |
The index of the algorithm. More... | |
std::string | m_algoName |
The name of the algorithm. More... | |
float | m_rank = -1 |
Algorithm rank of any kind. More... | |
bool | m_isAsynchronous |
If an algorithm is asynchronous. More... | |
std::vector< DataNode * > | m_outputs |
Algorithm outputs (DataNodes) More... | |
std::vector< DataNode * > | m_inputs |
Algorithm inputs (DataNodes) More... | |
Additional Inherited Members | |
![]() | |
unsigned int | m_nodeIndex |
std::string | m_nodeName |
Definition at line 485 of file PrecedenceRulesGraph.h.
|
inline |
|
overridevirtual |
Visitor entry point.
Implements concurrency::ControlFlowNode.
Definition at line 191 of file PrecedenceRulesGraph.cpp.
void concurrency::AlgorithmNode::addInputDataNode | ( | DataNode * | node | ) |
Associate an AlgorithmNode, which is a data consumer of this one.
Definition at line 214 of file PrecedenceRulesGraph.cpp.
void concurrency::AlgorithmNode::addOutputDataNode | ( | DataNode * | node | ) |
Associate an AlgorithmNode, which is a data supplier for this one.
Definition at line 208 of file PrecedenceRulesGraph.cpp.
void concurrency::AlgorithmNode::addParentNode | ( | DecisionNode * | node | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
overridevirtual |
Print a string representing the control flow state.
Implements concurrency::ControlFlowNode.
Definition at line 77 of file PrecedenceRulesGraph.cpp.
|
inline |
|
inline |
|
private |
The index of the algorithm.
Definition at line 539 of file PrecedenceRulesGraph.h.
|
private |
The name of the algorithm.
Definition at line 541 of file PrecedenceRulesGraph.h.
|
private |
Algorithm representative behind the AlgorithmNode.
Definition at line 537 of file PrecedenceRulesGraph.h.
|
private |
Algorithm inputs (DataNodes)
Definition at line 550 of file PrecedenceRulesGraph.h.
|
private |
If an algorithm is asynchronous.
Definition at line 545 of file PrecedenceRulesGraph.h.
|
private |
Algorithm outputs (DataNodes)
Definition at line 548 of file PrecedenceRulesGraph.h.
std::vector<DecisionNode*> concurrency::AlgorithmNode::m_parents |
Control flow parents of an AlgorithmNode (DecisionNodes)
Definition at line 533 of file PrecedenceRulesGraph.h.
|
private |
Algorithm rank of any kind.
Definition at line 543 of file PrecedenceRulesGraph.h.