Module portgraph::algorithms

source ·
Expand description

Algorithm implementations for portgraphs.

Structs

Functions

  • Returns a dominator tree for a PortGraph, where each node is dominated by its parent.
  • Returns a dominator tree for a PortGraph, where each node is dominated by its parent, applying a filter to the nodes and ports.
  • Returns an iterator doing a post-order traversal of a spanning tree in a PortGraph.
  • Returns an iterator doing a post-order traversal of a spanning tree in a PortGraph, applying a filter to the nodes and ports. No filtered nodes are returned, and neither are any nodes only accessible via filtered nodes or filtered ports.
  • Returns an iterator over a PortGraph in topological order.
  • Returns an iterator over a PortGraph in topological order, applying a filter to the nodes and ports. No filtered nodes are returned, and neither are any nodes only accessible via filtered nodes or filtered ports.