pub struct BinarySDD<'a> { /* private fields */ }
Expand description
Specialized SDD node for a right-linear sub-vtree SDDs for these fragments are binary decisions
Implementations§
Source§impl<'a> BinarySDD<'a>
impl<'a> BinarySDD<'a>
pub fn new( label: VarLabel, low: SddPtr<'a>, high: SddPtr<'a>, index: VTreeIndex, ) -> BinarySDD<'a>
pub fn index(&self) -> VTreeIndex
pub fn low(&self) -> SddPtr<'a>
pub fn high(&self) -> SddPtr<'a>
pub fn label(&self) -> VarLabel
pub fn semantic_hash<const P: u128>( &self, vtree: &VTreeManager, map: &WmcParams<FiniteField<P>>, ) -> FiniteField<P>
pub fn cached_semantic_hash<const P: u128>( &self, vtree: &VTreeManager, map: &WmcParams<FiniteField<P>>, ) -> FiniteField<P>
pub fn scratch<T>(&self) -> Option<T>
pub fn set_scratch<T: 'static>(&self, v: T)
pub fn clear_scratch(&self)
pub fn is_scratch_cleared(&self) -> bool
Trait Implementations§
Source§impl<'a> Ord for BinarySDD<'a>
impl<'a> Ord for BinarySDD<'a>
Source§impl<'a> PartialOrd for BinarySDD<'a>
impl<'a> PartialOrd for BinarySDD<'a>
impl<'a> Eq for BinarySDD<'a>
Auto Trait Implementations§
impl<'a> !Freeze for BinarySDD<'a>
impl<'a> !RefUnwindSafe for BinarySDD<'a>
impl<'a> !Send for BinarySDD<'a>
impl<'a> !Sync for BinarySDD<'a>
impl<'a> Unpin for BinarySDD<'a>
impl<'a> !UnwindSafe for BinarySDD<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.