pub struct AllPairsShortestPaths {
pub distance: Vec<Vec<f64>>,
/* private fields */
}Expand description
The all-pairs distance matrix and the successor matrix for path reconstruction.
Fields§
§distance: Vec<Vec<f64>>distance[i][j], f64::INFINITY when j is unreachable from i.
Implementations§
Trait Implementations§
Source§impl Clone for AllPairsShortestPaths
impl Clone for AllPairsShortestPaths
Source§impl Debug for AllPairsShortestPaths
impl Debug for AllPairsShortestPaths
Source§impl PartialEq for AllPairsShortestPaths
impl PartialEq for AllPairsShortestPaths
impl StructuralPartialEq for AllPairsShortestPaths
Auto Trait Implementations§
impl Freeze for AllPairsShortestPaths
impl RefUnwindSafe for AllPairsShortestPaths
impl Send for AllPairsShortestPaths
impl Sync for AllPairsShortestPaths
impl Unpin for AllPairsShortestPaths
impl UnsafeUnpin for AllPairsShortestPaths
impl UnwindSafe for AllPairsShortestPaths
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