![]() |
The Gaudi Framework
v29r2 (7a580596)
|
#include <src/ControlFlowGraph.h>


Public Member Functions | |
| DecisionNode (ControlFlowGraph &graph, unsigned int nodeIndex, const std::string &name, bool modeConcurrent, bool modePromptDecision, bool modeOR, bool allPass) | |
| Constructor. More... | |
| ~DecisionNode () override | |
| Destructor. More... | |
| void | initialize (const std::unordered_map< std::string, unsigned int > &algname_index_map) override |
| Initialize. More... | |
| int | updateState (AlgsExecutionStates &states, std::vector< int > &node_decisions) const override |
| Method to set algos to CONTROLREADY, if possible. More... | |
| void | addDaughterNode (ControlFlowNode *node) |
| Add a daughter node. More... | |
| const std::vector< ControlFlowNode * > & | getDaughters () const |
| 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... | |
Public Member Functions inherited from concurrency::recursive_CF::ControlFlowNode | |
| 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... | |
Public Attributes | |
| bool | m_modeConcurrent |
| Whether all daughters will be evaluated concurrently or sequentially. More... | |
| bool | m_modePromptDecision |
| Whether to evaluate the hub decision ASA its child decisions allow to do that. More... | |
| bool | m_modeOR |
| Whether acting as "and" (false) or "or" node (true) More... | |
| bool | m_allPass |
| Whether always passing regardless of daughter results. More... | |
Public Attributes inherited from concurrency::recursive_CF::ControlFlowNode | |
| ControlFlowGraph * | m_graph |
Private Attributes | |
| std::vector< ControlFlowNode * > | m_children |
| All direct daughter nodes in the tree. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from concurrency::recursive_CF::ControlFlowNode | |
| std::string | stateToString (const int &stateId) const |
| Translation between state id and name. More... | |
Protected Attributes inherited from concurrency::recursive_CF::ControlFlowNode | |
| unsigned int | m_nodeIndex |
| std::string | m_nodeName |
Definition at line 57 of file ControlFlowGraph.h.
|
inline |
Constructor.
Definition at line 61 of file ControlFlowGraph.h.
|
override |
Destructor.
Definition at line 23 of file ControlFlowGraph.cpp.
| void concurrency::recursive_CF::DecisionNode::addDaughterNode | ( | ControlFlowNode * | node | ) |
Add a daughter node.
Definition at line 37 of file ControlFlowGraph.cpp.
|
inline |
Definition at line 80 of file ControlFlowGraph.h.
|
overridevirtual |
Initialize.
Implements concurrency::recursive_CF::ControlFlowNode.
Definition at line 30 of file ControlFlowGraph.cpp.
|
overridevirtual |
Print a string representing the control flow state.
Implements concurrency::recursive_CF::ControlFlowNode.
Definition at line 44 of file ControlFlowGraph.cpp.
|
overridevirtual |
Method to set algos to CONTROLREADY, if possible.
Implements concurrency::recursive_CF::ControlFlowNode.
Definition at line 57 of file ControlFlowGraph.cpp.
| bool concurrency::recursive_CF::DecisionNode::m_allPass |
Whether always passing regardless of daughter results.
Definition at line 94 of file ControlFlowGraph.h.
|
private |
All direct daughter nodes in the tree.
Definition at line 98 of file ControlFlowGraph.h.
| bool concurrency::recursive_CF::DecisionNode::m_modeConcurrent |
Whether all daughters will be evaluated concurrently or sequentially.
Definition at line 87 of file ControlFlowGraph.h.
| bool concurrency::recursive_CF::DecisionNode::m_modeOR |
Whether acting as "and" (false) or "or" node (true)
Definition at line 92 of file ControlFlowGraph.h.
| bool concurrency::recursive_CF::DecisionNode::m_modePromptDecision |
Whether to evaluate the hub decision ASA its child decisions allow to do that.
Applicable to both concurrent and sequential cases.
Definition at line 90 of file ControlFlowGraph.h.