pub struct ComplexStatistics {
pub num_vertices: usize,
pub num_edges: usize,
pub dimension: usize,
pub f_vector: Vec<usize>,
pub euler_characteristic: i32,
pub is_connected: bool,
pub diameter: usize,
pub fundamental_group_rank: usize,
}Expand description
Statistics about the simplicial complex
Fields§
§num_vertices: usizeNumber of vertices
num_edges: usizeNumber of edges
dimension: usizeDimension of the complex
f_vector: Vec<usize>f-vector
euler_characteristic: i32Euler characteristic
is_connected: boolWhether connected
diameter: usizeDiameter
fundamental_group_rank: usizeFundamental group rank
Implementations§
Source§impl ComplexStatistics
impl ComplexStatistics
Sourcepub fn from_complex(complex: &FactorizationSimplex) -> Self
pub fn from_complex(complex: &FactorizationSimplex) -> Self
Compute statistics for a complex
Trait Implementations§
Source§impl Clone for ComplexStatistics
impl Clone for ComplexStatistics
Source§fn clone(&self) -> ComplexStatistics
fn clone(&self) -> ComplexStatistics
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 ComplexStatistics
impl Debug for ComplexStatistics
Source§impl<'de> Deserialize<'de> for ComplexStatistics
impl<'de> Deserialize<'de> for ComplexStatistics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ComplexStatistics
impl Display for ComplexStatistics
Auto Trait Implementations§
impl Freeze for ComplexStatistics
impl RefUnwindSafe for ComplexStatistics
impl Send for ComplexStatistics
impl Sync for ComplexStatistics
impl Unpin for ComplexStatistics
impl UnsafeUnpin for ComplexStatistics
impl UnwindSafe for ComplexStatistics
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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