Skip to main content

Module adj

Module adj 

Source
Expand description

Simple adjacency list.

Re-exportsยง

pub use crate::graph::DefaultIx;
pub use crate::graph::IndexType;

Structsยง

EdgeIndex
Adjacency list edge index type, a pair of integers.
EdgeIndices
EdgeReference
A reference to an edge of the graph.
EdgeReferences
An iterator over the EdgeReference of all the edges of the graph.
List
An adjacency list with labeled edges.
Neighbors
An iterator over the indices of the neighbors of a node.
NodeIndices
An iterator over all node indices in the graph.
OutgoingEdgeIndices
An Iterator over the indices of the outgoing edges from a node.
OutgoingEdgeReferences
Iterator over the EdgeReference of the outgoing edges from a node.
WSuc ๐Ÿ”’
Weighted successor

Functionsยง

proj1 ๐Ÿ”’
proj2 ๐Ÿ”’

Type Aliasesยง

NodeIndex
Adjacency list node index type, a plain integer.
Row ๐Ÿ”’
One row of the adjacency list.
RowIter ๐Ÿ”’
SomeIter ๐Ÿ”’
UnweightedList
A very simple adjacency list with no node or label weights.