pub struct CircuitLeaf {
pub variable_id: usize,
pub weight: f64,
}Expand description
Circuit leaf node for d-DNNF evaluation.
Each leaf corresponds to a probabilistic variable with a weight.
Fields§
§variable_id: usizeVariable ID in the circuit
weight: f64Weight for weighted model counting
Trait Implementations§
Source§impl Clone for CircuitLeaf
impl Clone for CircuitLeaf
Source§fn clone(&self) -> CircuitLeaf
fn clone(&self) -> CircuitLeaf
Returns a duplicate of the value. Read more
1.0.0 · 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 CircuitLeaf
impl RefUnwindSafe for CircuitLeaf
impl Send for CircuitLeaf
impl Sync for CircuitLeaf
impl Unpin for CircuitLeaf
impl UnsafeUnpin for CircuitLeaf
impl UnwindSafe for CircuitLeaf
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