pub struct JunctionTreeConfig {
pub n_vars: usize,
pub cardinalities: Vec<usize>,
}Expand description
Configuration for a junction tree: number of variables and their cardinalities.
Fields§
§n_vars: usizeNumber of discrete random variables.
cardinalities: Vec<usize>Cardinality (number of states) of each variable; length must equal n_vars.
Trait Implementations§
Source§impl Clone for JunctionTreeConfig
impl Clone for JunctionTreeConfig
Source§fn clone(&self) -> JunctionTreeConfig
fn clone(&self) -> JunctionTreeConfig
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 moreAuto Trait Implementations§
impl Freeze for JunctionTreeConfig
impl RefUnwindSafe for JunctionTreeConfig
impl Send for JunctionTreeConfig
impl Sync for JunctionTreeConfig
impl Unpin for JunctionTreeConfig
impl UnsafeUnpin for JunctionTreeConfig
impl UnwindSafe for JunctionTreeConfig
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