- java.lang.Object
-
- org.logicng.knowledgecompilation.bdds.functions.LngBDDFunction
-
- All Implemented Interfaces:
BDDFunction<BDDNode>
public final class LngBDDFunction extends Object implements BDDFunction<BDDNode>
Creates a LogicNG internal BDD data structure of a given BDD.- Since:
- 2.0.0
- Version:
- 2.3.0
-
-
Constructor Summary
Constructors Constructor Description LngBDDFunction()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 BDDNodeapply(BDD bdd)Applies this function on a given BDD.static LngBDDFunctionget()Returns the singleton instance of this function.
-
-
-
Constructor Detail
-
LngBDDFunction
@Deprecated public LngBDDFunction()
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 LngBDDFunction get()
Returns the singleton instance of this function.- Returns:
- an instance of this function
-
apply
public BDDNode apply(BDD bdd)
Description copied from interface:BDDFunctionApplies this function on a given BDD.- Specified by:
applyin interfaceBDDFunction<BDDNode>- Parameters:
bdd- the BDD- Returns:
- the result of the application
-
-