pub struct Clique {
pub vars: Vec<usize>,
pub potential: Vec<f64>,
}Expand description
A clique of the junction tree.
vars— the variables in the clique, stored in strictly increasing order.potential— the log-potential table over the clique’s joint configuration, row-major invarsorder (the last variable varies fastest).
Fields§
§vars: Vec<usize>Variables in the clique (sorted ascending).
potential: Vec<f64>Log-potential table over the clique’s joint configuration (row-major).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Clique
impl RefUnwindSafe for Clique
impl Send for Clique
impl Sync for Clique
impl Unpin for Clique
impl UnsafeUnpin for Clique
impl UnwindSafe for Clique
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