pub struct HrgPrediction {
pub edges: Vec<(VertexId, VertexId)>,
pub prob: Vec<f64>,
pub hrg: Hrg,
}Expand description
Result of Graph::hrg_predict.
Fields§
§edges: Vec<(VertexId, VertexId)>The candidate missing edges, most likely first.
prob: Vec<f64>The estimated probability of each candidate edge.
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 HrgPrediction
impl Clone for HrgPrediction
Source§fn clone(&self) -> HrgPrediction
fn clone(&self) -> HrgPrediction
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 HrgPrediction
impl Debug for HrgPrediction
Source§impl PartialEq for HrgPrediction
impl PartialEq for HrgPrediction
Source§fn eq(&self, other: &HrgPrediction) -> bool
fn eq(&self, other: &HrgPrediction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HrgPrediction
Auto Trait Implementations§
impl Freeze for HrgPrediction
impl RefUnwindSafe for HrgPrediction
impl Send for HrgPrediction
impl Sync for HrgPrediction
impl Unpin for HrgPrediction
impl UnsafeUnpin for HrgPrediction
impl UnwindSafe for HrgPrediction
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