Trait rs_graph::graph::IndexNetwork
source · pub trait IndexNetwork<'a>: IndexGraph<'a> + Network<'a> {
fn biedge_id(&self, e: Self::Edge) -> usize;
fn id2biedge(&'a self, id: usize) -> Self::Edge;
}
Expand description
Associates edges with unique ids for forward and backward edge.
There are no guarantees on the relation between edge and node ids.