satchmo-2.9.9.3: SAT encoding monad

Safe HaskellNone
LanguageHaskell98

Satchmo.Counting.Direct

Description

functions in this module have no extra variables but exponential cost.

Synopsis

Documentation

assert_implies_atmost :: MonadSAT m => [Boolean] -> Int -> [Boolean] -> m () Source

(and ys) implies (atmost k xs)

assert_implies_exactly :: MonadSAT m => [Boolean] -> Int -> [Boolean] -> m () Source

asserting that (and ys) implies (exactly k xs)