pub struct SymmetricCount {
pub representatives: Vec<Vec<bool>>,
pub total_models: u128,
pub exhaustive: bool,
}Expand description
The solution set described up to symmetry: one representative per orbit, plus the exact total.
Fields§
§representatives: Vec<Vec<bool>>One satisfying assignment per orbit of the model set under the variable-symmetry group — the essentially-distinct solutions.
total_models: u128The EXACT number of models (over the variables that occur), recovered as the sum of orbit sizes —
so a 2^Θ(n) model count is obtained by enumerating only the orbits.
exhaustive: boolfalse if the representative cap was reached before the model set was exhausted.
Trait Implementations§
Source§impl Clone for SymmetricCount
impl Clone for SymmetricCount
Source§fn clone(&self) -> SymmetricCount
fn clone(&self) -> SymmetricCount
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 moreSource§impl Debug for SymmetricCount
impl Debug for SymmetricCount
Source§impl PartialEq for SymmetricCount
impl PartialEq for SymmetricCount
Source§fn eq(&self, other: &SymmetricCount) -> bool
fn eq(&self, other: &SymmetricCount) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SymmetricCount
impl StructuralPartialEq for SymmetricCount
Auto Trait Implementations§
impl Freeze for SymmetricCount
impl RefUnwindSafe for SymmetricCount
impl Send for SymmetricCount
impl Sync for SymmetricCount
impl Unpin for SymmetricCount
impl UnsafeUnpin for SymmetricCount
impl UnwindSafe for SymmetricCount
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