toysolver-0.0.6: Assorted decision procedures for SAT, Max-SAT, PB, MIP, etc

Portabilityportable
Stabilityprovisional
Maintainermasahiro.sakai@gmail.com
Safe HaskellSafe-Inferred

Algebra.Lattice.Boolean

Contents

Description

Type classes for lattices and boolean algebras.

Synopsis

Boolean algebra

class Complement a whereSource

types that can be negated.

Methods

notB :: a -> aSource

class (BoundedLattice a, Complement a) => Boolean a whereSource

types that can be combined with boolean operations.

Methods

(.=>.), (.<=>.) :: a -> a -> aSource

Instances

true :: Boolean a => aSource

alias of top

false :: Boolean a => aSource

alias of bottom

(.&&.) :: Boolean a => a -> a -> aSource

alias of meet

(.||.) :: Boolean a => a -> a -> aSource

alias of join

andB :: Boolean a => [a] -> aSource

alias of meets

orB :: Boolean a => [a] -> aSource

alias of joins