[−][src]Trait net_ensembles::traits::WithGraph
unify graph ensembles in a trait
Required methods
fn at(&self, index: usize) -> &T
- access additional information at index
fn at_mut(&mut self, index: usize) -> &mut T
- mutable access to additional information at index
fn graph(&self) -> &G
- returns reference to the underlying topology aka, the
GenericGraph
- use this to call functions regarding the topology
Implementors
impl<T, R> WithGraph<T, GenericGraph<T, NodeContainer<T>>> for ErEnsembleC<T, R> where
T: Node + SerdeStateConform,
R: Rng,
[src]
T: Node + SerdeStateConform,
R: Rng,
fn at(&self, index: usize) -> &T
[src]
fn at_mut(&mut self, index: usize) -> &mut T
[src]
fn graph(&self) -> &Graph<T>
[src]
impl<T, R> WithGraph<T, GenericGraph<T, NodeContainer<T>>> for ErEnsembleM<T, R> where
T: Node + SerdeStateConform,
R: Rng,
[src]
T: Node + SerdeStateConform,
R: Rng,
fn at(&self, index: usize) -> &T
[src]
fn at_mut(&mut self, index: usize) -> &mut T
[src]
fn graph(&self) -> &Graph<T>
[src]
impl<T, R> WithGraph<T, GenericGraph<T, SwContainer<T>>> for SwEnsemble<T, R> where
T: Node + SerdeStateConform,
R: Rng,
[src]
T: Node + SerdeStateConform,
R: Rng,