Module pathfinding::directed::topological_sort
source · Expand description
Find a topological order in a directed graph if one exists.
Functions§
- Find a topological order in a directed graph if one exists.
- Topologically sort a directed graph into groups of independent nodes.