pub struct HrgConsensus {
pub parents: Vec<i64>,
pub weights: Vec<f64>,
pub hrg: Hrg,
}Expand description
Result of Graph::hrg_consensus.
Fields§
§parents: Vec<i64>Parent of each node of the consensus tree (-1 for roots): ids
0..n are the vertices of the graph, larger ids are vertex groups.
weights: Vec<f64>For each internal node of the consensus tree (ids n..), how many
times its split occurred in the samples.
hrg: HrgThe model the sampling started from: a copy of the given start model, or the model fitted to equilibrium when none was given.
Trait Implementations§
Source§impl Clone for HrgConsensus
impl Clone for HrgConsensus
Source§fn clone(&self) -> HrgConsensus
fn clone(&self) -> HrgConsensus
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 HrgConsensus
impl Debug for HrgConsensus
Source§impl PartialEq for HrgConsensus
impl PartialEq for HrgConsensus
Source§fn eq(&self, other: &HrgConsensus) -> bool
fn eq(&self, other: &HrgConsensus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HrgConsensus
Auto Trait Implementations§
impl Freeze for HrgConsensus
impl RefUnwindSafe for HrgConsensus
impl Send for HrgConsensus
impl Sync for HrgConsensus
impl Unpin for HrgConsensus
impl UnsafeUnpin for HrgConsensus
impl UnwindSafe for HrgConsensus
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