Struct graph::sssp::DeltaSteppingConfig
source · pub struct DeltaSteppingConfig {
pub start_node: usize,
pub delta: f32,
}
Fields§
§start_node: usize
The node for which to compute distances to all reachable nodes.
delta: f32
Defines the “bucket width”. A bucket maintains nodes with the same tentative distance to the start node.
Implementations§
Trait Implementations§
source§impl Clone for DeltaSteppingConfig
impl Clone for DeltaSteppingConfig
source§fn clone(&self) -> DeltaSteppingConfig
fn clone(&self) -> DeltaSteppingConfig
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 DeltaSteppingConfig
impl Debug for DeltaSteppingConfig
impl Copy for DeltaSteppingConfig
Auto Trait Implementations§
impl RefUnwindSafe for DeltaSteppingConfig
impl Send for DeltaSteppingConfig
impl Sync for DeltaSteppingConfig
impl Unpin for DeltaSteppingConfig
impl UnwindSafe for DeltaSteppingConfig
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