pub enum DijkstraExhaustiveness {
Complete,
PartialNodeWeights,
PartialHeap,
}
Expand description
The exhaustiveness of an execution of Dijkstra’s algorithm. This can be complete, or partial because of reaching performance limits.
Note that the max_weight
parameter is not a performance limit, but a limit on the search space.
Variants§
Complete
The search exhausted the search space.
PartialNodeWeights
The search was aborted early because the node weight data structure grew too large.
PartialHeap
The search was aborted early because the heap grew too large.
Trait Implementations§
source§impl Clone for DijkstraExhaustiveness
impl Clone for DijkstraExhaustiveness
source§fn clone(&self) -> DijkstraExhaustiveness
fn clone(&self) -> DijkstraExhaustiveness
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DijkstraExhaustiveness
impl Debug for DijkstraExhaustiveness
source§impl PartialEq<DijkstraExhaustiveness> for DijkstraExhaustiveness
impl PartialEq<DijkstraExhaustiveness> for DijkstraExhaustiveness
source§fn eq(&self, other: &DijkstraExhaustiveness) -> bool
fn eq(&self, other: &DijkstraExhaustiveness) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DijkstraExhaustiveness
impl StructuralEq for DijkstraExhaustiveness
impl StructuralPartialEq for DijkstraExhaustiveness
Auto Trait Implementations§
impl RefUnwindSafe for DijkstraExhaustiveness
impl Send for DijkstraExhaustiveness
impl Sync for DijkstraExhaustiveness
impl Unpin for DijkstraExhaustiveness
impl UnwindSafe for DijkstraExhaustiveness
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.