netlist::PathFinder class

Find a path between two points in a netlist.

Constructors, destructors, conversion operators

PathFinder(Netlist& netlist)

Public functions

auto buildPath(TraversalMap& traversalMap, NetlistNode& startNode, NetlistNode& endNode) -> NetlistPath
auto find(NetlistNode& startNode, NetlistNode& endNode) -> NetlistPath

Function documentation

NetlistPath netlist::PathFinder::find(NetlistNode& startNode, NetlistNode& endNode)

Find a path between two nodes in the netlist. Return a NetlistPath object that is empty if the path does not exist.