Trait net_ensembles::traits::WithGraph [−][src]
pub trait WithGraph<T, G> {
fn at(&self, index: usize) -> &T;
fn at_mut(&mut self, index: usize) -> &mut T;
fn graph(&self) -> &G;
fn sort_adj(&mut self);
}
Expand description
unify graph ensembles in a trait
Required methods
- returns reference to the underlying topology aka, the
GenericGraph
- use this to call functions regarding the topology