pub trait BooleanSystem: PartialBooleanSystem {
// Required method
fn evaluate_term(&self, term: &Self::TermId, input_values: &[bool]) -> bool;
}Expand description
A set of fully specified boolean formulas.
Required Methods§
Sourcefn evaluate_term(&self, term: &Self::TermId, input_values: &[bool]) -> bool
fn evaluate_term(&self, term: &Self::TermId, input_values: &[bool]) -> bool
Compute the value of the term.
The values of all needed literals must be defined by the input_values function.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl BooleanSystem for SmallTruthTable
impl<'a, N> BooleanSystem for RecursiveSim<'a, N>
impl<'a, T: BooleanSystem> BooleanSystem for OutputSelection<'a, T, T::TermId>
impl<F, const NUM_INPUTS: usize, const NUM_OUTPUTS: usize> BooleanSystem for NativeBooleanFunction<F, NUM_INPUTS, NUM_OUTPUTS>
impl<F> BooleanSystem for F
Implement the boolean system for two-input boolean functions.