Module traitgraph::walks

source ·
Expand description

Traits and implementations of node- and edge-centric walks.

Traits

  • A sequence of edges in a graph, where each consecutive pair of edges is connected by a node.
  • A sequence of nodes in a graph, where each consecutive pair of nodes is connected by an edge.

Type Definitions

  • An edge walk that is represented as a vector of edge indices.
  • A node walk that is represented as a vector of node indices.