pub struct SampledCensus {
pub num_vars: usize,
pub samples: usize,
pub residue: usize,
pub by_winner: Vec<(&'static str, usize)>,
}Expand description
A sampled census of the Boolean-function space on n variables, for n too large to enumerate.
Fields§
§num_vars: usize§samples: usize§residue: usizeHow many sampled functions no axis compressed.
by_winner: Vec<(&'static str, usize)>Implementations§
Source§impl SampledCensus
impl SampledCensus
Sourcepub fn residue_fraction(&self) -> f64
pub fn residue_fraction(&self) -> f64
The estimated fraction of the space that is the incompressible residue.
Trait Implementations§
Source§impl Clone for SampledCensus
impl Clone for SampledCensus
Source§fn clone(&self) -> SampledCensus
fn clone(&self) -> SampledCensus
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 SampledCensus
impl RefUnwindSafe for SampledCensus
impl Send for SampledCensus
impl Sync for SampledCensus
impl Unpin for SampledCensus
impl UnsafeUnpin for SampledCensus
impl UnwindSafe for SampledCensus
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