satchmo-2.9.9.3: SAT encoding monad

Safe HaskellNone
LanguageHaskell98

Satchmo.MonadSAT

Documentation

class (Applicative m, Monad m) => MonadSAT m where Source

Associated Types

type Decoder m :: * -> * Source

Methods

fresh, fresh_forall :: m Literal Source

emit :: Clause -> m () Source

note :: String -> m () Source

emit some note (could be printed by the backend)

decode_variable :: Variable -> Decoder m Bool Source

data Header Source

Constructors

Header 

Fields

numClauses, numVars :: !Int
 
universals :: ![Int]
 

Instances