pub struct KernelOptions {
pub enumeration: EnumOptions,
pub reserve_enc_vars: bool,
pub heuristic_improvements: HeurImprOptions,
pub solution_guided_search: bool,
pub core_trimming: bool,
pub core_minimization: bool,
pub core_exhaustion: bool,
pub store_cnf: bool,
}Expand description
Solver-wide configuration options
Fields§
§enumeration: EnumOptionsThe Pareto point enumeration mode
reserve_enc_vars: boolReserve encoding variables in advance
heuristic_improvements: HeurImprOptionsHeuristic solution improvement options
solution_guided_search: boolSolution-guided search (aka phasing solutions)
core_trimming: boolCore trimming (in core-guided algorithms)
core_minimization: boolCore minimization (in core-guided algorithms)
core_exhaustion: boolCore exhaustion (in OLL)
store_cnf: boolStore the original clauses
Implementations§
Source§impl KernelOptions
impl KernelOptions
pub fn set_enumeration(&mut self, enumeration: EnumOptions)
Trait Implementations§
Source§impl Clone for KernelOptions
impl Clone for KernelOptions
Source§fn clone(&self) -> KernelOptions
fn clone(&self) -> KernelOptions
Returns a copy 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 Default for KernelOptions
impl Default for KernelOptions
Source§fn default() -> KernelOptions
fn default() -> KernelOptions
Returns the “default value” for a type. Read more
impl Copy for KernelOptions
Auto Trait Implementations§
impl Freeze for KernelOptions
impl RefUnwindSafe for KernelOptions
impl Send for KernelOptions
impl Sync for KernelOptions
impl Unpin for KernelOptions
impl UnwindSafe for KernelOptions
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