- java.lang.Object
-
- org.logicng.knowledgecompilation.bdds.functions.BDDNormalFormFunction
-
- org.logicng.knowledgecompilation.bdds.functions.BDDCNFFunction
-
- All Implemented Interfaces:
BDDFunction<Formula>
public final class BDDCNFFunction extends BDDNormalFormFunction implements BDDFunction<Formula>
Creates a CNF from a BDD.- Since:
- 2.0.0
- Version:
- 2.3.0
-
-
Constructor Summary
Constructors Constructor Description BDDCNFFunction()Deprecated.In the next version, the standard constructor will be replaced by a private constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Formulaapply(BDD bdd)Applies this function on a given BDD.static BDDCNFFunctionget()Returns the singleton instance of this function.-
Methods inherited from class org.logicng.knowledgecompilation.bdds.functions.BDDNormalFormFunction
compute
-
-
-
-
Constructor Detail
-
BDDCNFFunction
@Deprecated public BDDCNFFunction()
Deprecated.In the next version, the standard constructor will be replaced by a private constructor. In order to instantiate an object of this class, use theget()method.
-
-
Method Detail
-
get
public static BDDCNFFunction get()
Returns the singleton instance of this function.- Returns:
- an instance of this function
-
apply
public Formula apply(BDD bdd)
Description copied from interface:BDDFunctionApplies this function on a given BDD.- Specified by:
applyin interfaceBDDFunction<Formula>- Parameters:
bdd- the BDD- Returns:
- the result of the application
-
-