Trait fera::graph::prelude::WithEdgeIndexProp
source · pub trait WithEdgeIndexProp: WithEdge {
type EdgeIndexProp: EdgePropGet<Self, usize>;
fn edge_index(&self) -> Self::EdgeIndexProp;
}
Expand description
A graph that has a property that maps each edge to an integer in the range 0..num_edges
.
Required Associated Types§
type EdgeIndexProp: EdgePropGet<Self, usize>
Required Methods§
sourcefn edge_index(&self) -> Self::EdgeIndexProp
fn edge_index(&self) -> Self::EdgeIndexProp
Creates an edge index map.