Trait caminos_lib::routing::SourceRouting[][src]

pub trait SourceRouting {
    fn initialize(
        &mut self,
        topology: &Box<dyn Topology>,
        rng: &RefCell<StdRng>
    );
fn get_paths(&self, source: usize, target: usize) -> &Vec<Vec<usize>>; }
Expand description

Trait for Routings that build the whole route at source. This includes routings such as K-shortest paths. But I have all my implementations depending on a private algorithm, so they are not yet here. They will all be released when the dependency is formally published.

Required methods

Implementors