pub struct DefaultConfig;Expand description
Generated solver configuration.
Trait Implementations§
Source§impl Clone for DefaultConfig
impl Clone for DefaultConfig
Source§fn clone(&self) -> DefaultConfig
fn clone(&self) -> DefaultConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 DefaultConfig
impl Debug for DefaultConfig
Source§impl Default for DefaultConfig
impl Default for DefaultConfig
Source§fn default() -> DefaultConfig
fn default() -> DefaultConfig
Returns the “default value” for a type. Read more
Source§impl Hash for DefaultConfig
impl Hash for DefaultConfig
Source§impl Ord for DefaultConfig
impl Ord for DefaultConfig
Source§fn cmp(&self, other: &DefaultConfig) -> Ordering
fn cmp(&self, other: &DefaultConfig) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DefaultConfig
impl PartialEq for DefaultConfig
Source§impl PartialOrd for DefaultConfig
impl PartialOrd for DefaultConfig
Source§impl SolverConfig for DefaultConfig
impl SolverConfig for DefaultConfig
Source§type Literal = PackedLiteral
type Literal = PackedLiteral
The type used to represent literals (e.g.
PackedLiteral, StructLiteral).
Must implement crate::sat::literal::Literal.Source§type LiteralStorage = SmallVec<[PackedLiteral; 8]>
type LiteralStorage = SmallVec<[PackedLiteral; 8]>
The type used for storing literals within a clause (e.g.
Vec<L>, SmallVec<[L; N]>).
Must implement crate::sat::clause_storage::LiteralStorage.Source§type Assignment = VecAssignment
type Assignment = VecAssignment
The type used for managing variable assignments (e.g.
VecAssignment).
Must implement crate::sat::assignment::Assignment.Source§type VariableSelector = Vsids
type VariableSelector = Vsids
The type used for the variable selection heuristic (e.g.
Vsids, Random).
Must implement crate::sat::variable_selection::VariableSelection.Source§type Propagator = WatchedLiterals<PackedLiteral, SmallVec<[PackedLiteral; 8]>, VecAssignment>
type Propagator = WatchedLiterals<PackedLiteral, SmallVec<[PackedLiteral; 8]>, VecAssignment>
The type used for the unit propagation mechanism (e.g.
WatchedLiterals, UnitSearch).
Must implement crate::sat::propagation::Propagator.Source§type Restarter = Luby<2>
type Restarter = Luby<2>
The type used for the restart strategy (e.g.
Luby, Geometric).
Must implement crate::sat::restarter::Restarter.Source§type ClauseManager = LbdClauseManagement<10>
type ClauseManager = LbdClauseManagement<10>
The type used for managing the clause database (e.g.
LbdClauseManagement).
Must implement crate::sat::clause_management::ClauseManagement.impl Eq for DefaultConfig
impl StructuralPartialEq for DefaultConfig
Auto Trait Implementations§
impl Freeze for DefaultConfig
impl RefUnwindSafe for DefaultConfig
impl Send for DefaultConfig
impl Sync for DefaultConfig
impl Unpin for DefaultConfig
impl UnwindSafe for DefaultConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more