pub enum EstimationMethod {
UpperBound,
Exact,
Sampling {
sample_count: usize,
},
}Expand description
The method used for SpGEMM nnz estimation.
Variants§
UpperBound
Per-row upper bound summing nnz of accessed B-rows.
Exact
Exact count using hash sets (or bitsets for narrow matrices).
Sampling
Sampling-based estimate with the given number of sampled rows.
Trait Implementations§
Source§impl Clone for EstimationMethod
impl Clone for EstimationMethod
Source§fn clone(&self) -> EstimationMethod
fn clone(&self) -> EstimationMethod
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 Debug for EstimationMethod
impl Debug for EstimationMethod
impl Eq for EstimationMethod
Source§impl PartialEq for EstimationMethod
impl PartialEq for EstimationMethod
Source§fn eq(&self, other: &EstimationMethod) -> bool
fn eq(&self, other: &EstimationMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EstimationMethod
Auto Trait Implementations§
impl Freeze for EstimationMethod
impl RefUnwindSafe for EstimationMethod
impl Send for EstimationMethod
impl Sync for EstimationMethod
impl Unpin for EstimationMethod
impl UnsafeUnpin for EstimationMethod
impl UnwindSafe for EstimationMethod
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