Type Definition traitgraph::walks::VecNodeWalk

source · []
pub type VecNodeWalk<Graph> = Vec<<Graph as GraphBase>::NodeIndex>;
Expand description

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

Trait Implementations

Returns the edge walk represented by this node walk. If there is a consecutive pair of nodes with a multiedge, then None is returned. If this walk contains less than two nodes, then None is returned. If there is a consecutive pair of node not connected by an edge, then this method panics. Read more

Returns true if this is a proper subwalk of the given walk. Proper means that the walks are not equal. Read more