Trait net_ensembles::traits::WithGraph
source · [−]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
sourcefn at_mut(&mut self, index: usize) -> &mut T
fn at_mut(&mut self, index: usize) -> &mut T
- mutable access to additional information at index