Struct fbas_analyzer::NodeIdSetVecResult [−][src]
pub struct NodeIdSetVecResult { /* fields omitted */ }
Expand description
Wraps a vector of node ID sets. Node ID sets are stored in shrunken form to preserve memory.
Implementations
Returns (number_of_sets, number_of_distinct_nodes, <minmaxmean_set_size>,
Returns (min_set_size, max_set_size, mean_set_size)
Returns [ #members with size 0, #members with size 1, … , #members with maximum size ]
Merge contained nodes so that all nodes of the same grouping get the same ID.
The remaining node sets might be non-minimal w.r.t. each other, or contain duplicates!
You will usually want to chain this with .minimal_sets()
.
Removes all non-minimal sets and sorts the remaining sets.
Transforms result into a vector of vectors of public keys and/or grouping names. The passed FBAS should be the same as the one used for analysis, otherwise the IDs might not not match. Preserves the original (typically node ID-based) ordering.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for NodeIdSetVecResult
impl Send for NodeIdSetVecResult
impl Sync for NodeIdSetVecResult
impl Unpin for NodeIdSetVecResult
impl UnwindSafe for NodeIdSetVecResult
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.