omni::graph::exec::unstable::detail::VisitLast

Defined in omni/graph/exec/unstable/Traversal.h

struct VisitLast

Traversal strategy that enters the node when entire upstream was already visited and this is the last opportunity to enter the node.

In case of cycles, this algorithm is relying on knowledge of number of parents that are causing cycles.

Public Static Functions

template<typename Node, typename NodeData>
static inline VisitOrder tryVisit(Node &node, NodeData &nodeData)

Call to traverse the graph with a strategy to visit only when no more visits are possible.