Enum graph::graph::csr::CsrLayout [−][src]
pub enum CsrLayout {
Sorted,
Unsorted,
Deduplicated,
}
Expand description
Defines how the neighbor list of individual nodes are organized within the CSR target array.
Variants
Sorted
Neighbor lists are sorted and may contain duplicate target ids. This is the default representation.
Unsorted
Neighbor lists are not in any particular order.
Deduplicated
Neighbor lists are sorted and do not contain duplicate target ids.
Self-loops, i.e., edges in the form of (u, u)
are removed.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CsrLayout
impl UnwindSafe for CsrLayout
Blanket Implementations
Mutably borrows from an owned value. Read more