Expand description
Function table maps one the table of an uninterpreted function to corresponding Bdd
variables.
The main functionality of a FunctionTable
is that it provides an iterator over
pairs of Vec<bool>
(function input assignment) and BddVariable
(corresponding symbolic variable).
Fields
arity: u16
rows: Vec<BddVariable>
Implementations
sourceimpl FunctionTable
impl FunctionTable
sourcepub fn new(
name: &str,
arity: u16,
bdd_builder: &mut BddVariableSetBuilder
) -> FunctionTable
pub fn new(
name: &str,
arity: u16,
bdd_builder: &mut BddVariableSetBuilder
) -> FunctionTable
Construct a new FunctionTable
, registering each row of the table as BddVariable
in
the given bdd_builder
.
The name
is necessary to give some semantic names to the
symbolic variables.
Trait Implementations
sourceimpl Clone for FunctionTable
impl Clone for FunctionTable
sourcefn clone(&self) -> FunctionTable
fn clone(&self) -> FunctionTable
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FunctionTable
impl Debug for FunctionTable
sourceimpl<'a> IntoIterator for &'a FunctionTable
impl<'a> IntoIterator for &'a FunctionTable
Converts a FunctionTable
into an iterator of Vec<bool>
(function table row) and
BddVariable
(corresponding symbolic variable).
Auto Trait Implementations
impl RefUnwindSafe for FunctionTable
impl Send for FunctionTable
impl Sync for FunctionTable
impl Unpin for FunctionTable
impl UnwindSafe for FunctionTable
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more