pub enum ClauseManagementType {
NoClauseManagement,
LbdActivityClauseManagement,
}Expand description
Enum representing the type of clause management strategy to use in a SAT solver.
Variants§
NoClauseManagement
No clause management strategy
LbdActivityClauseManagement
LBD and activity-based clause management strategy
Implementations§
Source§impl ClauseManagementType
impl ClauseManagementType
Sourcepub fn to_impl<L: Literal, S: LiteralStorage<L>, const N: usize>(
self,
clauses: &[Clause<L, S>],
) -> ClauseManagementImpls<N>
pub fn to_impl<L: Literal, S: LiteralStorage<L>, const N: usize>( self, clauses: &[Clause<L, S>], ) -> ClauseManagementImpls<N>
Converts the ClauseManagementType to a concrete ClauseManagementImpls.
Trait Implementations§
Source§impl Clone for ClauseManagementType
impl Clone for ClauseManagementType
Source§fn clone(&self) -> ClauseManagementType
fn clone(&self) -> ClauseManagementType
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 ClauseManagementType
impl Debug for ClauseManagementType
Source§impl Default for ClauseManagementType
impl Default for ClauseManagementType
Source§fn default() -> ClauseManagementType
fn default() -> ClauseManagementType
Returns the “default value” for a type. Read more
Source§impl Display for ClauseManagementType
impl Display for ClauseManagementType
Source§impl Hash for ClauseManagementType
impl Hash for ClauseManagementType
Source§impl PartialEq for ClauseManagementType
impl PartialEq for ClauseManagementType
Source§impl ValueEnum for ClauseManagementType
impl ValueEnum for ClauseManagementType
impl Copy for ClauseManagementType
impl Eq for ClauseManagementType
impl StructuralPartialEq for ClauseManagementType
Auto Trait Implementations§
impl Freeze for ClauseManagementType
impl RefUnwindSafe for ClauseManagementType
impl Send for ClauseManagementType
impl Sync for ClauseManagementType
impl Unpin for ClauseManagementType
impl UnwindSafe for ClauseManagementType
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