pub struct PresparseStats {
pub original_edges: usize,
pub sparse_edges: usize,
pub sparsity_ratio: f64,
pub time_us: u64,
pub speedup_factor: f64,
pub vertices_processed: usize,
}Expand description
Statistics from presparse operation
Fields§
§original_edges: usizeOriginal number of edges
sparse_edges: usizeNumber of edges after presparse
sparsity_ratio: f64Sparsity ratio achieved
time_us: u64Time taken in microseconds
speedup_factor: f64Estimated speedup factor
vertices_processed: usizeNumber of vertices affected
Trait Implementations§
Source§impl Clone for PresparseStats
impl Clone for PresparseStats
Source§fn clone(&self) -> PresparseStats
fn clone(&self) -> PresparseStats
Returns a duplicate of the value. Read more
1.0.0 · 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 PresparseStats
impl Debug for PresparseStats
Source§impl Default for PresparseStats
impl Default for PresparseStats
Source§fn default() -> PresparseStats
fn default() -> PresparseStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PresparseStats
impl RefUnwindSafe for PresparseStats
impl Send for PresparseStats
impl Sync for PresparseStats
impl Unpin for PresparseStats
impl UnwindSafe for PresparseStats
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<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