pub enum VariableSelectionType {
Vsids,
VsidsHeap,
FixedOrder,
RandomOrder,
JeroslowWangOneSided,
JeroslowWangTwoSided,
}Expand description
Enum representing different variable selection strategies.
Variants§
Vsids
VSIDS (Variable State Independent Decaying Sum) selection strategy.
VsidsHeap
VSIDS with a binary heap for efficient selection.
FixedOrder
Fixed order selection strategy, iterating through variables in a fixed order.
RandomOrder
Random order selection strategy, picking variables in a random order.
JeroslowWangOneSided
Jeroslow-Wang one-sided selection strategy, scoring literals based on clause lengths.
JeroslowWangTwoSided
Jeroslow-Wang two-sided selection strategy, scoring variables based on both polarities.
Implementations§
Trait Implementations§
Source§impl Clone for VariableSelectionType
impl Clone for VariableSelectionType
Source§fn clone(&self) -> VariableSelectionType
fn clone(&self) -> VariableSelectionType
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 VariableSelectionType
impl Debug for VariableSelectionType
Source§impl Default for VariableSelectionType
impl Default for VariableSelectionType
Source§fn default() -> VariableSelectionType
fn default() -> VariableSelectionType
Returns the “default value” for a type. Read more
Source§impl Display for VariableSelectionType
impl Display for VariableSelectionType
Source§impl Hash for VariableSelectionType
impl Hash for VariableSelectionType
Source§impl Ord for VariableSelectionType
impl Ord for VariableSelectionType
Source§fn cmp(&self, other: &VariableSelectionType) -> Ordering
fn cmp(&self, other: &VariableSelectionType) -> 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 VariableSelectionType
impl PartialEq for VariableSelectionType
Source§impl PartialOrd for VariableSelectionType
impl PartialOrd for VariableSelectionType
Source§impl ValueEnum for VariableSelectionType
impl ValueEnum for VariableSelectionType
impl Copy for VariableSelectionType
impl Eq for VariableSelectionType
impl StructuralPartialEq for VariableSelectionType
Auto Trait Implementations§
impl Freeze for VariableSelectionType
impl RefUnwindSafe for VariableSelectionType
impl Send for VariableSelectionType
impl Sync for VariableSelectionType
impl Unpin for VariableSelectionType
impl UnwindSafe for VariableSelectionType
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