pub trait UndirectedDegrees<NI>where
    NI: Idx,{
    // Required method
    fn degree(&self, node: NI) -> NI;
}

Required Methods§

source

fn degree(&self, node: NI) -> NI

Returns the number of edges connected to the given node.

Implementors§

source§

impl<NI, NV, EV> UndirectedDegrees<NI> for UndirectedALGraph<NI, NV, EV>where NI: Idx,

source§

impl<NI, NV, EV> UndirectedDegrees<NI> for UndirectedCsrGraph<NI, NV, EV>where NI: Idx,