pub struct DecisionDnnf { /* private fields */ }Expand description
Parsed decision-DNNF circuit with indexed outgoing edges.
Implementations§
Source§impl DecisionDnnf
impl DecisionDnnf
Sourcepub fn node_kind(&self, node_id: u32) -> Option<DdnnfNodeKind>
pub fn node_kind(&self, node_id: u32) -> Option<DdnnfNodeKind>
Returns the operator of node_id, if the node exists.
Sourcepub fn outgoing_edge_indices(&self, node_id: u32) -> Option<&[usize]>
pub fn outgoing_edge_indices(&self, node_id: u32) -> Option<&[usize]>
Returns indices of edges leaving node_id.
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 (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 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§
impl<T> Allocation for T
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