- java.lang.Object
-
- org.logicng.util.FormulaCornerCases
-
public final class FormulaCornerCases extends Object
Creation of formula corner cases.Formula corner cases help to cover all cases when writing unit tests with formulas involved.
- Since:
- 2.0.0
- Version:
- 2.0.0
-
-
Constructor Summary
Constructors Constructor Description FormulaCornerCases(FormulaFactory f)Constructs a new corner cases creator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Formula>cornerCases()Generates corner cases for all operators.SortedSet<Variable>getVariables()Returns the set of variables used for creating the corner cases.
-
-
-
Constructor Detail
-
FormulaCornerCases
public FormulaCornerCases(FormulaFactory f)
Constructs a new corner cases creator.- Parameters:
f- the formula factory
-
-