Struct graphannis_core::graph::storage::GraphStatistic [−][src]
pub struct GraphStatistic {
pub cyclic: bool,
pub rooted_tree: bool,
pub nodes: usize,
pub avg_fan_out: f64,
pub fan_out_99_percentile: usize,
pub inverse_fan_out_99_percentile: usize,
pub max_fan_out: usize,
pub max_depth: usize,
pub dfs_visit_ratio: f64,
}Expand description
Some general statistical numbers specific to a graph component
Fields
cyclic: boolTrue if the component contains any cycle.
rooted_tree: boolTrue if the component consists of a rooted trees.
nodes: usizeNumber of nodes in this graph storage (both source and target nodes).
avg_fan_out: f64Average fan out.
fan_out_99_percentile: usizeMax fan-out of 99% of the data.
inverse_fan_out_99_percentile: usizeMax inverse fan-out of 99% of the data.
max_fan_out: usizeMaximal number of children of a node.
max_depth: usizeMaximum length from a root node to a terminal node.
dfs_visit_ratio: f64Only valid for acyclic graphs: the average number of times a DFS will visit each node.
Trait Implementations
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
Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more
Auto Trait Implementations
impl RefUnwindSafe for GraphStatistic
impl Send for GraphStatistic
impl Sync for GraphStatistic
impl Unpin for GraphStatistic
impl UnwindSafe for GraphStatistic
Blanket Implementations
Mutably borrows from an owned value. Read more