pub struct FunctionTable {
    pub arity: u16,
    rows: Vec<BddVariable>,
}
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: u16rows: Vec<BddVariable>

Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Converts a FunctionTable into an iterator of Vec<bool> (function table row) and BddVariable (corresponding symbolic variable).

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.