pub struct DeltaSteppingOutput {
pub dist: Vec<f64>,
pub parent: Vec<usize>,
}Expand description
Result of a delta-stepping run from a single source.
Fields§
§dist: Vec<f64>dist[v] = shortest-path distance from the source (∞ if unreachable).
parent: Vec<usize>parent[v] = predecessor of v on a shortest path (usize::MAX if none;
the source is its own parent).
Trait Implementations§
Source§impl Clone for DeltaSteppingOutput
impl Clone for DeltaSteppingOutput
Source§fn clone(&self) -> DeltaSteppingOutput
fn clone(&self) -> DeltaSteppingOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DeltaSteppingOutput
impl RefUnwindSafe for DeltaSteppingOutput
impl Send for DeltaSteppingOutput
impl Sync for DeltaSteppingOutput
impl Unpin for DeltaSteppingOutput
impl UnsafeUnpin for DeltaSteppingOutput
impl UnwindSafe for DeltaSteppingOutput
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