pub struct BooleanCensus {
pub num_vars: usize,
pub total: usize,
pub by_winner: Vec<(&'static str, usize)>,
pub compressed: usize,
pub residue: usize,
}Expand description
An exhaustive census of the whole Boolean-function space on n variables: which structural axis the
deep finder wins on, for every one of the 2^{2ⁿ} functions.
Fields§
§num_vars: usize§total: usize2^{2ⁿ} — the number of Boolean functions on n variables.
by_winner: Vec<(&'static str, usize)>Each winning axis paired with how many functions it is the tightest description for.
compressed: usizeFunctions some axis compressed (total − residue).
residue: usizeFunctions no axis compressed — the incompressible residue relative to the whole arsenal.
Trait Implementations§
Source§impl Clone for BooleanCensus
impl Clone for BooleanCensus
Source§fn clone(&self) -> BooleanCensus
fn clone(&self) -> BooleanCensus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BooleanCensus
impl RefUnwindSafe for BooleanCensus
impl Send for BooleanCensus
impl Sync for BooleanCensus
impl Unpin for BooleanCensus
impl UnsafeUnpin for BooleanCensus
impl UnwindSafe for BooleanCensus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more