#include <netlist/CycleDetector.hpp>
template<class NodeType, class EdgeType>
CycleDetectionVisitor struct
Visitor class for identifying cycles during Depth-First Search.
Public functions
- void visitedNode(const NodeType& node)
- void visitNode(const NodeType& node)
- void visitEdge(const EdgeType& edge)
- auto getCycles() const -> auto&
Public variables
- std::vector<const NodeType*> recursionStack
- std::vector<std::vector<const NodeType*>> cycles