[−][src]Enum zdd::ZddTree
Actual ZDD enum type.
Usually a ZDD is either:
- a node with a label and a left and a right hash consed subtree,
- the one terminal, the set containing only the null combination,
- the zero terminal, the empty set.
However we use 0-element edges that indicate a path contains the null combination. So there's no one terminal.
Variants
A node with a label and two kids.
HasOne(Zdd<Label>)
Indicates the underlying contains the empty combination.
The empty set.
Methods
impl<Label: Ord + Clone> ZddTree<Label>
[src]
pub fn iter(&self) -> Iterator<Label>
[src]
Returns an iterator over a ZddTree. There's no into_iter
since a ZDD is immutable anyway.
Trait Implementations
impl<Label: Clone> Clone for ZddTree<Label>
[src]
impl<Label: Ord + Clone + Display> Display for ZddTree<Label>
[src]
impl<Label: Clone + Eq> Eq for ZddTree<Label>
[src]
impl<Label: Hash> Hash for ZddTree<Label>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<Label: PartialEq> PartialEq<ZddTree<Label>> for ZddTree<Label>
[src]
impl<Label> StructuralPartialEq for ZddTree<Label>
[src]
Auto Trait Implementations
impl<Label> RefUnwindSafe for ZddTree<Label> where
Label: RefUnwindSafe,
Label: RefUnwindSafe,
impl<Label> Send for ZddTree<Label> where
Label: Send,
Label: Send,
impl<Label> Sync for ZddTree<Label> where
Label: Sync,
Label: Sync,
impl<Label> Unpin for ZddTree<Label> where
Label: Unpin,
Label: Unpin,
impl<Label> UnwindSafe for ZddTree<Label> where
Label: RefUnwindSafe + UnwindSafe,
Label: RefUnwindSafe + UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,