LogicNG v2.2.0 Release Notes
Release Date: 2021-11-09 // over 2 years ago-
โ Added
- ๐ Improved
FormulaFactory
by avoiding creating unnecessary negations (cache pollution) during the check for complementary operands. - ๐ Improved the NNF computation by avoiding creating unnecessary negations (cache pollution) during the recursive calls.
- Extracted the NNF computation in its own transformation class
NNFTransformation
. - ๐ Moved all formula caches from the
Formula
class to theFormulaFactory
to save memory by avoiding creating empty cache maps. - ๐ New
TermPredicate
class to check whether a formula is a minterm (clause) or maxterm (DNF term). - Extended helper classes
CollectionHelper
andFormulaHelper
by additional convenient methods.
๐ Fixed
- ๐ Fixed a bug in the
addSoftFormula
method of theMaxSATSolver
class. A soft formula is now weighted properly if the soft formula is not a clause. - ๐ Fixed a bug in the
addWithRelaxation
method of theSATSolver
class. The CNF of the formula is now computed properly regarding the configuration of the solver.
๐ Deprecated
- ๐ Deprecation of method
addWithoutUnknown
in classSATSolver
- this method will be removed in future versions. - ๐ Deprecation of method
addWithRelaxation
for propositions in classSATSolver
- this method will be removed in future versions.
- ๐ Improved