pub enum SATSolverKind {
CaDiCaL,
MiniSat,
Glucose,
Lingeling,
Kissat,
}Expand description
Identifies which SAT solver to use.
Each variant corresponds to a different SAT solver implementation. The availability of each solver depends on the enabled feature flags.
§Example
use sat_solvers::SATSolverKind;
let solver = SATSolverKind::CaDiCaL;
println!("Using solver: {}", solver);Variants§
CaDiCaL
CaDiCaL - State-of-the-art CDCL SAT solver by Armin Biere. Winner of multiple SAT Competitions.
MiniSat
MiniSat - A minimalistic, open-source SAT solver. One of the most widely used and studied SAT solvers.
Glucose
Glucose - A CDCL SAT solver based on MiniSat with improved clause learning.
Lingeling
Lingeling - A high-performance SAT solver by Armin Biere.
Kissat
Kissat - Successor to CaDiCaL, winner of SAT Competition 2020 and later.
Trait Implementations§
Source§impl Clone for SATSolverKind
impl Clone for SATSolverKind
Source§fn clone(&self) -> SATSolverKind
fn clone(&self) -> SATSolverKind
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 SATSolverKind
impl Debug for SATSolverKind
Source§impl<'de> Deserialize<'de> for SATSolverKind
impl<'de> Deserialize<'de> for SATSolverKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SATSolverKind
impl Display for SATSolverKind
Source§impl Hash for SATSolverKind
impl Hash for SATSolverKind
Source§impl PartialEq for SATSolverKind
impl PartialEq for SATSolverKind
Source§impl Serialize for SATSolverKind
impl Serialize for SATSolverKind
impl Copy for SATSolverKind
impl Eq for SATSolverKind
impl StructuralPartialEq for SATSolverKind
Auto Trait Implementations§
impl Freeze for SATSolverKind
impl RefUnwindSafe for SATSolverKind
impl Send for SATSolverKind
impl Sync for SATSolverKind
impl Unpin for SATSolverKind
impl UnwindSafe for SATSolverKind
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