satchmo-2.9.9.4: SAT encoding monad
Safe HaskellSafe-Inferred
LanguageHaskell2010

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)