pub trait DijkstraTargetMap<Graph: GraphBase> {
    // Required method
    fn is_target(&self, node_index: Graph::NodeIndex) -> bool;
}
Expand description

A data structure that decides whether a given node index is a target of the current Dijkstra search.

Required Methods§

source

fn is_target(&self, node_index: Graph::NodeIndex) -> bool

Returns true if the given node index is a target of the current Dijkstra search.

Implementations on Foreign Types§

source§

impl<IndexType: Sized + Eq, Graph: GraphBase<NodeIndex = NodeIndex<IndexType>>> DijkstraTargetMap<Graph> for NodeIndex<IndexType>

source§

fn is_target(&self, node_index: Graph::NodeIndex) -> bool

source§

impl<Graph: GraphBase> DijkstraTargetMap<Graph> for Vec<bool>

source§

fn is_target(&self, node_index: Graph::NodeIndex) -> bool

Implementors§