Module petgraph::algo

source ·
Expand description

Graph algorithms.

It is a goal to gradually migrate the algorithms to be based on graph traits so that they are generally applicable. For now, some of these still require the Graph type.

Modules§

  • Compute dominators of a control-flow graph.

Structs§

  • An algorithm error: a cycle was found in the graph.
  • Workspace for a graph traversal.
  • An iterator producing a minimum spanning forest of a graph.
  • An algorithm error: a cycle of negative weights was found in the graph.

Traits§

  • A floating-point measure.
  • Associated data that can be used for measures (such as length).

Functions§

Type Aliases§