cudd-0.1.0.3.1: Bindings to the CUDD binary decision diagrams library

Safe HaskellNone
LanguageHaskell2010

Cudd.Cudd

Description

Bindings to the CUDD BDD library

This is a straightforward wrapper around the C library. See http://vlsi.colorado.edu/~fabio/CUDD/ for documentation.

Exampe usage:

import Cudd.Cudd

main = do
    let manager = cuddInit
        v1      = ithVar manager 0
        v2      = ithVar manager 1
        conj    = bAnd manager v1 v2
        implies = lEq manager conj v1
    print implies

Documentation

newtype DDManager Source #

Constructors

DDManager (Ptr CDDManager) 

newtype DDNode Source #

Constructors

DDNode 

data SatBit Source #

Constructors

Zero 
One 
DontCare 

Instances

Eq SatBit Source # 

Methods

(==) :: SatBit -> SatBit -> Bool #

(/=) :: SatBit -> SatBit -> Bool #