pub trait SourceRouting {
// Required methods
fn initialize(&mut self, topology: &dyn Topology, rng: &mut StdRng);
fn get_paths(&self, source: usize, target: usize) -> &Vec<Vec<usize>>;
}
Expand description
Trait for Routing
s 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.