- java.lang.Object
-
- org.logicng.transformations.Subsumption
-
- Direct Known Subclasses:
CNFSubsumption,DNFSubsumption
public abstract class Subsumption extends Object
A superclass for subsumptions (CNF or DNF).- Since:
- 1.5.0
- Version:
- 2.0.0
-
-
Constructor Summary
Constructors Constructor Description Subsumption()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static UBTree<Literal>generateSubsumedUBTree(Formula formula)Generates a UBTree from the formulas operands (clauses in CNF, minterms in DNF) where all subsumed operands are already deleted.
-
-
-
Method Detail
-
generateSubsumedUBTree
protected static UBTree<Literal> generateSubsumedUBTree(Formula formula)
Generates a UBTree from the formulas operands (clauses in CNF, minterms in DNF) where all subsumed operands are already deleted.- Parameters:
formula- the formula (must be an n-ary operator and CNF or DNF)- Returns:
- the UBTree with the operands and deleted subsumed operands
-
-