pub struct CuddManager {
mgr: Rc<InternalCuddMgrPtr>,
next_var_index: Rc<Mutex<usize>>,
}Expand description
Manager type for CUDD Decision Diagrams
This manager internally uses the CUDD library to create and manipulate BDDs.
Note that this manager uses unsafe code to interact with the CUDD library.
Fields§
§mgr: Rc<InternalCuddMgrPtr>CUDD manager object
next_var_index: Rc<Mutex<usize>>Index of the next variable to be created
Implementations§
Source§impl CuddManager
impl CuddManager
pub fn new() -> Self
pub fn new_with_config(cfg: &CuddManagerConfig) -> Self
Trait Implementations§
Source§impl BddManager for CuddManager
impl BddManager for CuddManager
Source§impl Clone for CuddManager
impl Clone for CuddManager
Source§fn clone(&self) -> Self
fn clone(&self) -> Self
Clone of a CUDD manager creates a shallow copy of the manager
It does therefore not clone the CUDD manager itself, all modifications to the manager and BDDs will be reflected in all clones.
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CuddManager
impl Debug for CuddManager
Source§impl Default for CuddManager
impl Default for CuddManager
Source§impl PartialEq for CuddManager
impl PartialEq for CuddManager
Auto Trait Implementations§
impl Freeze for CuddManager
impl RefUnwindSafe for CuddManager
impl !Send for CuddManager
impl !Sync for CuddManager
impl Unpin for CuddManager
impl UnwindSafe for CuddManager
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more