Skip to main content

GetShortestPath

Trait GetShortestPath 

Source
pub trait GetShortestPath {
    // Required method
    fn get_shortest_path(
        &mut self,
        src: NodeId,
        dst: NodeId,
    ) -> Result<Vec<NodeId>, BetweennessCentralityError>;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§