pub struct MyopicTorus<I: ICompatible<V>, V: VCompatible<I>>(pub Torus<I, V>);Expand description
A deliberately overlapping bounded domain on Torus.
This exercises NerveComplex
when many cover nodes see the same region rather than forming the regular
cover represented by TorusCover.
Tuple Fieldsยง
ยง0: Torus<I, V>Implementationsยง
Sourceยงimpl<I: ICompatible<V>, V: VCompatible<I>> MyopicTorus<I, V>
impl<I: ICompatible<V>, V: VCompatible<I>> MyopicTorus<I, V>
Trait Implementationsยง
Sourceยงimpl<I: ICompatible<V>, V: VCompatible<I>> AsRef<MyopicTorus<I, V>> for MyopicTorusCover<I, V>
impl<I: ICompatible<V>, V: VCompatible<I>> AsRef<MyopicTorus<I, V>> for MyopicTorusCover<I, V>
Sourceยงfn as_ref(&self) -> &MyopicTorus<I, V>
fn as_ref(&self) -> &MyopicTorus<I, V>
Converts this type into a shared reference of the (usually inferred) input type.
Sourceยงimpl<I: ICompatible<V>, V: VCompatible<I>> AsRef<Torus<I, V>> for MyopicTorus<I, V>
impl<I: ICompatible<V>, V: VCompatible<I>> AsRef<Torus<I, V>> for MyopicTorus<I, V>
Sourceยงimpl<I: ICompatible<V>, V: VCompatible<I>> Bounded<MyopicTorus<I, V>, Torus<I, V>, V> for MyopicTorusCover<I, V>
impl<I: ICompatible<V>, V: VCompatible<I>> Bounded<MyopicTorus<I, V>, Torus<I, V>, V> for MyopicTorusCover<I, V>
Sourceยงimpl<I: ICompatible<V>, V: VCompatible<I>> Bounded<Torus<I, V>, Torus<I, V>, V> for MyopicTorus<I, V>
impl<I: ICompatible<V>, V: VCompatible<I>> Bounded<Torus<I, V>, Torus<I, V>, V> for MyopicTorus<I, V>
Sourceยงimpl<I: ICompatible<V>, V: VCompatible<I>> Chart<Torus<I, V>, V> for MyopicTorus<I, V>
impl<I: ICompatible<V>, V: VCompatible<I>> Chart<Torus<I, V>, V> for MyopicTorus<I, V>
Sourceยงtype Global = <Torus<I, V> as Chart<Torus<I, V>, V>>::Global
type Global = <Torus<I, V> as Chart<Torus<I, V>, V>>::Global
The result of mapping local coordinates back onto the manifold. Read more
fn to_local(&self, p: &Torus<I, V>) -> Option<V>
fn to_global(&self, c: V) -> Self::Global
fn chart_at(p: &Torus<I, V>) -> Self
Sourceยงfn local_distance(&self, other: &P) -> Option<<V::F as Field>::Fixed>where
V: Euclidean,
fn local_distance(&self, other: &P) -> Option<<V::F as Field>::Fixed>where
V: Euclidean,
Calculates the distance between
self and other
in local coordinates, based at &self.fn check_local_inverse(p: &P) -> boolwhere
P: PartialEq,
Sourceยงimpl<I: Clone + ICompatible<V>, V: Clone + VCompatible<I>> Clone for MyopicTorus<I, V>
impl<I: Clone + ICompatible<V>, V: Clone + VCompatible<I>> Clone for MyopicTorus<I, V>
Sourceยงfn clone(&self) -> MyopicTorus<I, V>
fn clone(&self) -> MyopicTorus<I, V>
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 moreSourceยงimpl<I: Debug + ICompatible<V>, V: Debug + VCompatible<I>> Debug for MyopicTorus<I, V>
impl<I: Debug + ICompatible<V>, V: Debug + VCompatible<I>> Debug for MyopicTorus<I, V>
Sourceยงimpl<I: ICompatible<V>, V: VCompatible<I>> ExpMap<Torus<I, V>, V> for MyopicTorus<I, V>
impl<I: ICompatible<V>, V: VCompatible<I>> ExpMap<Torus<I, V>, V> for MyopicTorus<I, V>
fn base_point(&self) -> Torus<I, V>
fn check_base_point_is_origin(&self) -> boolwhere
V: Form,
fn check_preservation_of_origin(&self) -> boolwhere
V: Form,
Sourceยงimpl<I: ICompatible<V>, V: VCompatible<I>> From<MyopicTorus<I, V>> for MyopicTorusCover<I, V>
impl<I: ICompatible<V>, V: VCompatible<I>> From<MyopicTorus<I, V>> for MyopicTorusCover<I, V>
Sourceยงfn from(value: MyopicTorus<I, V>) -> Self
fn from(value: MyopicTorus<I, V>) -> Self
Converts to this type from the input type.
Sourceยงimpl<I: ICompatible<V>, V: VCompatible<I>> From<Torus<I, V>> for MyopicTorus<I, V>
impl<I: ICompatible<V>, V: VCompatible<I>> From<Torus<I, V>> for MyopicTorus<I, V>
Sourceยงimpl<I: ICompatible<V>, V: VCompatible<I>> NerveComplexParameters<Torus<I, V>, V, MyopicTorus<I, V>, MyopicTorusCover<I, V>> for MyopicTorusCover<I, V>
impl<I: ICompatible<V>, V: VCompatible<I>> NerveComplexParameters<Torus<I, V>, V, MyopicTorus<I, V>, MyopicTorusCover<I, V>> for MyopicTorusCover<I, V>
Sourceยงfn overestimation_bound() -> Option<(V::F, V::F)>
fn overestimation_bound() -> Option<(V::F, V::F)>
The one irreducible assumption: graph distance on the 1-skeleton
overestimates true geodesic distance by at most a factor
1 + e. Read moreSourceยงfn max_candidate_paths() -> usize
fn max_candidate_paths() -> usize
Hard cap on how many candidate edge-paths are straightened. Raising it
strengthens the guarantee; lowering it trades certification for speed.
Sourceยงfn max_frontier() -> usize
fn max_frontier() -> usize
Cap on heap entries. Prefixes vastly outnumber completions, and this is
the quantity that threatens memory. Independent of the above: no ratio
between prefixes-in-flight and completions exists.
Sourceยงfn max_rescues() -> usize
fn max_rescues() -> usize
Cap on local insertions before declaring the charts unusable.
when flowing a polyline, sometimes a point might go out of the
injectivity radius of its neighbors, in that case, we insert
a point between them to try to rescue the polyline.
Sourceยงfn max_straightening_iterations(n: usize) -> usize
fn max_straightening_iterations(n: usize) -> usize
Iteration cap for the flow, as a function of vertex count. Read more
Sourceยงfn max_samples() -> usize
fn max_samples() -> usize
Cap on samples per
same_basin comparison. Exceeding it means the
polyline is longer than max_samples ยท ฮด_s, and no comparison at that
spacing could prove two prefixes share a basin โ so the prune is
declined rather than performed on insufficient evidence.Sourceยงfn max_canonical_generators() -> usize
fn max_canonical_generators() -> usize
Generator count above which
fundamental_group returns a correct but
non-canonical presentation. Read moreSourceยงfn prefix_smoothing_sweeps() -> usize
fn prefix_smoothing_sweeps() -> usize
Sweeps of the discrete geodesic flow applied to a prefix before it is
compared for basin membership. Read more
fn max_basins_per_class() -> usize
Sourceยงimpl<I: ICompatible<V>, V: VCompatible<I>> TangentBundle<Torus<I, V>, V> for MyopicTorus<I, V>
impl<I: ICompatible<V>, V: VCompatible<I>> TangentBundle<Torus<I, V>, V> for MyopicTorus<I, V>
fn check_universal_centring(p: P) -> boolwhere
V: Form,
Auto Trait Implementationsยง
impl<I, V> Freeze for MyopicTorus<I, V>
impl<I, V> RefUnwindSafe for MyopicTorus<I, V>
impl<I, V> Send for MyopicTorus<I, V>
impl<I, V> Sync for MyopicTorus<I, V>
impl<I, V> Unpin for MyopicTorus<I, V>
impl<I, V> UnsafeUnpin for MyopicTorus<I, V>
impl<I, V> UnwindSafe for MyopicTorus<I, V>
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