- java.lang.Object
-
- org.logicng.knowledgecompilation.dnnf.datastructures.Dnnf
-
public final class Dnnf extends Object
A DNNF - Decomposable Negation Normal Form.- Since:
- 2.0.0
- Version:
- 2.0.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <RESULT> RESULTexecute(DnnfFunction<RESULT> function)Executes a given DNNF function on this DNNF.Formulaformula()Returns the formula of the DNNF.SortedSet<Variable>getOriginalVariables()Returns the original variables of the formula
-
-
-
Method Detail
-
execute
public <RESULT> RESULT execute(DnnfFunction<RESULT> function)
Executes a given DNNF function on this DNNF.- Type Parameters:
RESULT- the result type- Parameters:
function- the function- Returns:
- the result of the function application
-
formula
public Formula formula()
Returns the formula of the DNNF.- Returns:
- the formula
-
-