pub trait PartialBooleanSystem: NumInputs + NumOutputs {
type LiteralId: IdType;
type TermId: IdType;
// Required method
fn evaluate_term_partial(
&self,
term: &Self::TermId,
input_values: &[bool],
) -> Option<bool>;
}Expand description
Generic ways to access and query a set of partially specified boolean formulas.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
Source§impl<'a, N> PartialBooleanSystem for RecursiveSim<'a, N>
impl<'a, N> PartialBooleanSystem for RecursiveSim<'a, N>
Source§impl<'a, T: PartialBooleanSystem> PartialBooleanSystem for OutputSelection<'a, T, T::TermId>
impl<'a, T: PartialBooleanSystem> PartialBooleanSystem for OutputSelection<'a, T, T::TermId>
Source§impl<F, const NUM_INPUTS: usize, const NUM_OUTPUTS: usize> PartialBooleanSystem for NativeBooleanFunction<F, NUM_INPUTS, NUM_OUTPUTS>
impl<F, const NUM_INPUTS: usize, const NUM_OUTPUTS: usize> PartialBooleanSystem for NativeBooleanFunction<F, NUM_INPUTS, NUM_OUTPUTS>
Source§impl<F> PartialBooleanSystem for F
Implement the boolean system for two-input boolean functions.
impl<F> PartialBooleanSystem for F
Implement the boolean system for two-input boolean functions.