#[non_exhaustive]pub enum CollapseObjective {
H1,
H2,
}Expand description
The downstream work an adaptive collapse schedule targets.
In each pass, H1 favors removals that destroy more triangles. H2
first favors removals that destroy more tetrahedra, then uses the
triangle count as a tie breaker. Each planned removal is tested again
against the current graph. The score guides the order only. Every
removal passes the same filtration-wide predicate.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
H1
Target the cofacets used most directly by an H1 computation.
H2
Target H2 cofacets, then H1 cofacets.
Trait Implementations§
Source§impl Clone for CollapseObjective
impl Clone for CollapseObjective
Source§fn clone(&self) -> CollapseObjective
fn clone(&self) -> CollapseObjective
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 moreimpl Copy for CollapseObjective
Source§impl Debug for CollapseObjective
impl Debug for CollapseObjective
impl Eq for CollapseObjective
Source§impl PartialEq for CollapseObjective
impl PartialEq for CollapseObjective
impl StructuralPartialEq for CollapseObjective
Auto Trait Implementations§
impl Freeze for CollapseObjective
impl RefUnwindSafe for CollapseObjective
impl Send for CollapseObjective
impl Sync for CollapseObjective
impl Unpin for CollapseObjective
impl UnsafeUnpin for CollapseObjective
impl UnwindSafe for CollapseObjective
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more