pub struct ReductionRepairWork {
pub edge_columns_reused: usize,
pub edge_columns_reduced: usize,
pub triangle_columns_reused: usize,
pub triangle_columns_reduced: usize,
pub column_additions: usize,
}Expand description
Exact algebraic work charged to one reduction repair.
Fields§
§edge_columns_reused: usizeEdge-boundary columns retained without reduction.
edge_columns_reduced: usizeEdge-boundary columns reduced after the retained prefix.
triangle_columns_reused: usizeTriangle-boundary columns retained without reduction.
triangle_columns_reduced: usizeTriangle-boundary columns reduced after the retained prefix.
column_additions: usizeSparse column additions performed by the repair.
Implementations§
Source§impl ReductionRepairWork
impl ReductionRepairWork
Sourcepub fn columns_reused(&self) -> usize
pub fn columns_reused(&self) -> usize
Columns retained without another reduction pass.
Sourcepub fn columns_reduced(&self) -> usize
pub fn columns_reduced(&self) -> usize
Columns processed by the repair reduction.
Trait Implementations§
Source§impl Clone for ReductionRepairWork
impl Clone for ReductionRepairWork
Source§fn clone(&self) -> ReductionRepairWork
fn clone(&self) -> ReductionRepairWork
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 ReductionRepairWork
Source§impl Debug for ReductionRepairWork
impl Debug for ReductionRepairWork
Source§impl Default for ReductionRepairWork
impl Default for ReductionRepairWork
Source§fn default() -> ReductionRepairWork
fn default() -> ReductionRepairWork
Returns the “default value” for a type. Read more
impl Eq for ReductionRepairWork
Source§impl PartialEq for ReductionRepairWork
impl PartialEq for ReductionRepairWork
impl StructuralPartialEq for ReductionRepairWork
Auto Trait Implementations§
impl Freeze for ReductionRepairWork
impl RefUnwindSafe for ReductionRepairWork
impl Send for ReductionRepairWork
impl Sync for ReductionRepairWork
impl Unpin for ReductionRepairWork
impl UnsafeUnpin for ReductionRepairWork
impl UnwindSafe for ReductionRepairWork
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