pub struct DecisionDnnf { /* private fields */ }Implementations§
Source§impl DecisionDnnf
impl DecisionDnnf
pub fn root(&self) -> u32
pub fn max_var(&self) -> u32
pub fn node_kind(&self, node_id: u32) -> Option<DdnnfNodeKind>
pub fn outgoing_edge_indices(&self, node_id: u32) -> Option<&[usize]>
pub fn edge(&self, edge_idx: usize) -> Option<&DdnnfEdge>
pub fn parse_str(input: &str) -> Result<Self>
pub fn eval_log_wmc<F>(&self, var_log_weights: F) -> Result<f64>
Trait Implementations§
Source§impl Clone for DecisionDnnf
impl Clone for DecisionDnnf
Source§fn clone(&self) -> DecisionDnnf
fn clone(&self) -> DecisionDnnf
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 DecisionDnnf
impl RefUnwindSafe for DecisionDnnf
impl Send for DecisionDnnf
impl Sync for DecisionDnnf
impl Unpin for DecisionDnnf
impl UnsafeUnpin for DecisionDnnf
impl UnwindSafe for DecisionDnnf
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