Module csr

Source
Expand description

Compressed Sparse Row (CSR) is a sparse adjacency matrix graph.

Structs§

Csr
Compressed Sparse Row (CSR) is a sparse adjacency matrix graph.
EdgeReference
EdgeReferences
Edges
EdgesNotSorted
Csr creation error: edges were not in sorted order.
Neighbors
NodeIdentifiers
NodeReferences
Iterator over all nodes of a graph.

Enums§

CsrError
The error type for fallible operations with Csr.

Traits§

IndexType
Trait for the unsigned integer type used for node and edge indices.

Type Aliases§

DefaultIx
The default integer type for graph indices. u32 is the default to reduce the size of the graph’s data and improve performance in the common case.
EdgeIndex
Csr edge index type, a plain integer.
NodeIndex
Csr node index type, a plain integer.