Skip to main content

BlissInfo

Struct BlissInfo 

Source
pub struct BlissInfo {
    pub nof_nodes: u64,
    pub nof_leaf_nodes: u64,
    pub nof_bad_nodes: u64,
    pub nof_canupdates: u64,
    pub nof_generators: u64,
    pub max_level: u64,
    pub group_size: String,
}
Expand description

Statistics of a Bliss run (igraph_bliss_info_t).

Mostly useful to study the internal working of the algorithm, except for group_size, the exact size of the automorphism group, which may be astronomically large (e.g. n! for the complete graph K_n) and is therefore given as a decimal string.

Fields§

§nof_nodes: u64

Number of nodes in the search tree.

§nof_leaf_nodes: u64

Number of leaf nodes in the search tree.

§nof_bad_nodes: u64

Number of bad nodes.

§nof_canupdates: u64

Number of canonical representative updates.

§nof_generators: u64

Number of generators of the automorphism group.

§max_level: u64

Maximum level of the search tree.

§group_size: String

Size of the automorphism group, in base 10. It is empty when Bliss did not run to completion, e.g. in Graph::isomorphic_bliss when the two graphs have different vertex or edge counts.

Implementations§

Source§

impl BlissInfo

Source

pub fn group_size_f64(&self) -> Option<f64>

The group size parsed as a float (possibly rounded, or infinite for huge groups); None if group_size is empty.

Source

pub fn group_size_u128(&self) -> Option<u128>

The group size parsed as a u128; None if it is empty or too large.

Trait Implementations§

Source§

impl Clone for BlissInfo

Source§

fn clone(&self) -> BlissInfo

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for BlissInfo

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for BlissInfo

Source§

fn default() -> BlissInfo

Returns the “default value” for a type. Read more
Source§

impl Eq for BlissInfo

Source§

impl PartialEq for BlissInfo

Source§

fn eq(&self, other: &BlissInfo) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for BlissInfo

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.