pub trait ZddTreeOps<Label: Ord + Clone> {
// Required methods
fn is_zero(&self) -> bool;
fn is_one(&self) -> bool;
fn has_one(&self) -> bool;
fn top(&self) -> Result<Label, bool>;
fn to_set(&self) -> BTreeSet<BTreeSet<Label>>;
fn iter(&self) -> Iterator<Label> ⓘ;
}
Expand description
Basic operations on ZDD.
Required Methods§
Sourcefn top(&self) -> Result<Label, bool>
fn top(&self) -> Result<Label, bool>
Returns the top label if the ZDD is a node, an error of true
if the ZDD is one and
false
if it is zero.