- java.lang.Object
-
- org.logicng.transformations.CanonicalEnumeration
-
- org.logicng.transformations.cnf.CanonicalCNFEnumeration
-
- All Implemented Interfaces:
FormulaTransformation
public final class CanonicalCNFEnumeration extends CanonicalEnumeration implements FormulaTransformation
Canonical CNF generation via enumeration of falsifying assignments by a SAT solver.- Since:
- 2.3.0
- Version:
- 2.3.0
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Formulaapply(Formula formula, boolean cache)Returns the transformed formula.static CanonicalCNFEnumerationget()Returns the singleton of the transformation.StringtoString()-
Methods inherited from class org.logicng.transformations.CanonicalEnumeration
compute
-
-
-
-
Method Detail
-
get
public static CanonicalCNFEnumeration get()
Returns the singleton of the transformation.- Returns:
- the transformation instance
-
apply
public Formula apply(Formula formula, boolean cache)
Description copied from interface:FormulaTransformationReturns the transformed formula.- Specified by:
applyin interfaceFormulaTransformation- Parameters:
formula- the input formulacache- indicated whether the result (and associated predicates) should be cached in the formula's cache.- Returns:
- the transformed formula
-
-