jukebox-0.4.2: A first-order reasoning toolbox
Jukebox.Sat
data Solver #
Defined in Jukebox.Sat
Methods
getSolver :: Solver -> Solver Source #
newSolver :: IO Solver Source #
deleteSolver :: Solver -> IO () #
data Lit #
Defined in MiniSat
(==) :: Lit -> Lit -> Bool #
(/=) :: Lit -> Lit -> Bool #
compare :: Lit -> Lit -> Ordering #
(<) :: Lit -> Lit -> Bool #
(<=) :: Lit -> Lit -> Bool #
(>) :: Lit -> Lit -> Bool #
(>=) :: Lit -> Lit -> Bool #
max :: Lit -> Lit -> Lit #
min :: Lit -> Lit -> Lit #
showsPrec :: Int -> Lit -> ShowS #
show :: Lit -> String #
showList :: [Lit] -> ShowS #
neg :: Lit -> Lit #
false :: Lit Source #
true :: Lit Source #
class SatSolver s where Source #
Minimal complete definition
getSolver
getSolver :: s -> Solver Source #
Defined in Jukebox.Sat.Equality
getSolver :: SolverEq -> Solver Source #
newLit :: SatSolver s => s -> IO Lit Source #
addClause :: SatSolver s => s -> [Lit] -> IO () Source #
solve :: SatSolver s => s -> [Lit] -> IO Bool Source #
conflict :: SatSolver s => s -> IO [Lit] Source #
modelValue :: SatSolver s => s -> Lit -> IO (Maybe Bool) Source #
value :: SatSolver s => s -> Lit -> IO (Maybe Bool) Source #