Trait rs_graph::attributed::AttributedNetwork[][src]

pub trait AttributedNetwork<'a>: AttributedGraph<'a> where
    Self::Graph: Network<'a>,
    Self::Attributes: 'a + NetworkAttributes<Node = <Self::Graph as Graph<'a>>::Node, Edge = <Self::Graph as Graph<'a>>::Edge>, 
{ fn biedge(
        &'a self,
        e: <Self::Graph as Graph<'a>>::Edge
    ) -> &'a <Self::Attributes as NetworkAttributes>::BiEdgeAttr;
fn biedge_mut(
        &'a mut self,
        e: <Self::Graph as Graph<'a>>::Edge
    ) -> &'a mut <Self::Attributes as NetworkAttributes>::BiEdgeAttr; }

An attributed network.

This trait adds another type of attributes to a graph: attributes associated with each forward and backward edge of a network (i.e. with so called "biedges").

Required Methods

Return the attributes of a biedge.

Return the attributes of a biedge.

Implementors