Skip to content
Snippets Groups Projects

Add selection mechanism in graph

Merged Olivier BICHLER requested to merge select into dev
1 unresolved thread
4 files
+ 60
13
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -127,7 +127,22 @@ public:
virtual ~Scheduler();
public:
void tagConditionalNodes();
/**
* @brief Add schedule.cond attribute to conditional nodes.
* The schedule.cond attribute is a `std::set<std::pair<NodePtr, size_t>>`,
* where the first element is the Select node and the second element, the
* Select input index.
*/
void tagConditionalNodes() const;
/**
* @brief Check if the node condition is valid.
*
* @param node Node to check the condition.
* @return true If the node condition is valid, meaning it has to be executed.
* @return false If the node condition is not valid, meaning it can be skipped.
*/
bool isNodeCondValid(NodePtr node) const;
/**
* @brief Get the static scheduling order of nodes.
Loading