Changelog for decision-diagrams-0.2.0.0
Changelog for decision-diagrams package
0.2.0.0
Changes
-
Make
Leaf :: Bool -> BDD aas a basic constructor instead ofF/T(in case of BDD) andEmpty/Base(in case of ZDD), and removeF/T. -
ZDD.toListnow returns sorted list -
Change signature of
foldandfold'of BDD- Before:
b -> b -> (Int -> b -> b -> b) -> BDD a -> b - After:
(Int -> b -> b -> b) -> (Bool -> b) -> BDD a -> b
- Before:
-
Change signature of
foldandfold'of ZDD (ditto) -
Add
HasCallStackto some functions that are expected to raise excpetions
Additions
-
Introduce signature functor type (
Sig) -
Add new operations:
- BDD:
- fixed point operators
lfpandgfp - satisfiability related functions:
anySat,allSat,anySatComplete,allSatComplete,countSat,uniformSatM - pseudo-boolean constraint functions:
pbAtLeast,pbAtMost,pbExactly,pbExactlyIntegral
- fixed point operators
- ZDD:
combinations- pseudo-boolean constraint functions:
subsetsAtLeast,subsetsAtMost,subsetsExactly,subsetsExactlyIntegral
- Both BDD and ZDD
numNodesunfoldHashableandunfoldOrd
- BDD:
Bug fixes
- Fix laziness of
foldandfold'
Other changes
-
Introduced
doctest -
Add other-extensions fields to
package.yaml