pub struct Basin<P, F> {
pub path: Vec<P>,
pub length: F,
pub witness: Vec<usize>,
}Expand description
A distinct valley of the length functional: one geodesic from p to q
that is a strict local minimum of length among nearby paths.
A homotopy class may contain several. Two edge-paths lie in the same basin
exactly when the discrete geodesic flow carries them to the same geodesic โ
which is what NerveComplex::basins uses as the label, rather than any
combinatorial invariant of the edge-paths themselves. Homotopy cannot
distinguish basins; only the flow can.
Fieldsยง
ยงpath: Vec<P>The converged geodesic, as a polyline whose vertices lie on it.
length: FIts exact arc length.
witness: Vec<usize>The edge-path through the nerve that descended into this basin.
Trait Implementationsยง
Auto Trait Implementationsยง
impl<P, F> Freeze for Basin<P, F>
impl<P, F> RefUnwindSafe for Basin<P, F>
impl<P, F> Send for Basin<P, F>
impl<P, F> Sync for Basin<P, F>
impl<P, F> Unpin for Basin<P, F>
impl<P, F> UnsafeUnpin for Basin<P, F>
impl<P, F> UnwindSafe for Basin<P, F>
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Sourceยงimpl<๐, X> Equivalent<๐, X> for Xwhere
๐: Cat,
impl<๐, X> Equivalent<๐, X> for Xwhere
๐: Cat,
Sourceยงimpl<T> OptionallyOption<T> for T
impl<T> OptionallyOption<T> for T
Sourceยงfn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts either permitted representation into
Option<T>. Read more