- java.lang.Object
-
- org.logicng.formulas.FormulaFactory.FormulaFactoryStatistics
-
- Enclosing class:
- FormulaFactory
public static final class FormulaFactory.FormulaFactoryStatistics extends Object
A class for statistics of the formula factory.
-
-
Constructor Summary
Constructors Constructor Description FormulaFactoryStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intccCounter()Returns the number of generated cardinality constraint auxiliary variables.intccs()Returns the number of cardinality constraints in the factory.intcnfCounter()Returns the number of generated CNF auxiliary variables.intconjunctions2()Returns the number of conjunctions of size 2 in the factory.intconjunctions3()Returns the number of conjunctions of size 3 in the factory.intconjunctions4()Returns the number of conjunctions of size 4 in the factory.intconjunctionsN()Returns the number of conjunctions of a size >4 in the factory.intdisjunctions2()Returns the number of disjunctions of size 2 in the factory.intdisjunctions3()Returns the number of disjunctions of size 3 in the factory.intdisjunctions4()Returns the number of disjunctions of size 4 in the factory.intdisjunctionsN()Returns the number of disjunctions of a size >4 in the factory.booleanequals(Object o)intequivalences()Returns the number of equivalences in the factory.intformulas()Returns the number of all formulas in the factory.inthashCode()intimplications()Returns the number of implications in the factory.Stringname()Returns the name of the formula factory.intnegations()Returns the number of negations in the factory.intnegativeLiterals()Returns the number of negative literals in the factory.intpbCounter()Returns the number of generated pseudo-Boolean auxiliary variables.intpbcs()Returns the number of pseudo-Boolean constraints in the factory.intpositiveLiterals()Returns the number of positive literals in the factory.StringtoString()
-
-
-
Method Detail
-
name
public String name()
Returns the name of the formula factory.- Returns:
- the name of the formula factory
-
positiveLiterals
public int positiveLiterals()
Returns the number of positive literals in the factory.- Returns:
- the number of positive literals in the factory
-
negativeLiterals
public int negativeLiterals()
Returns the number of negative literals in the factory.- Returns:
- the number of negative literals in the factory
-
negations
public int negations()
Returns the number of negations in the factory.- Returns:
- the number of negations in the factory
-
implications
public int implications()
Returns the number of implications in the factory.- Returns:
- the number of implications in the factory
-
equivalences
public int equivalences()
Returns the number of equivalences in the factory.- Returns:
- the number of equivalences in the factory
-
conjunctions2
public int conjunctions2()
Returns the number of conjunctions of size 2 in the factory.- Returns:
- the number of conjunctions of size 2 in the factory
-
conjunctions3
public int conjunctions3()
Returns the number of conjunctions of size 3 in the factory.- Returns:
- the number of conjunctions of size 3 in the factory
-
conjunctions4
public int conjunctions4()
Returns the number of conjunctions of size 4 in the factory.- Returns:
- the number of conjunctions of size 4 in the factory
-
conjunctionsN
public int conjunctionsN()
Returns the number of conjunctions of a size >4 in the factory.- Returns:
- the number of conjunctions of a size >4 in the factory
-
disjunctions2
public int disjunctions2()
Returns the number of disjunctions of size 2 in the factory.- Returns:
- the number of disjunctions of size 2 in the factory
-
disjunctions3
public int disjunctions3()
Returns the number of disjunctions of size 3 in the factory.- Returns:
- the number of disjunctions of size 3 in the factory
-
disjunctions4
public int disjunctions4()
Returns the number of disjunctions of size 4 in the factory.- Returns:
- the number of disjunctions of size 4 in the factory
-
disjunctionsN
public int disjunctionsN()
Returns the number of disjunctions of a size >4 in the factory.- Returns:
- the number of disjunctions of a size >4 in the factory
-
pbcs
public int pbcs()
Returns the number of pseudo-Boolean constraints in the factory.- Returns:
- the number of pseudo-Boolean constraints in the factory
-
ccs
public int ccs()
Returns the number of cardinality constraints in the factory.- Returns:
- the number of cardinality constraints in the factory
-
ccCounter
public int ccCounter()
Returns the number of generated cardinality constraint auxiliary variables.- Returns:
- the number of generated cardinality constraint auxiliary variables
-
pbCounter
public int pbCounter()
Returns the number of generated pseudo-Boolean auxiliary variables.- Returns:
- the number of generated pseudo-Boolean auxiliary variables
-
cnfCounter
public int cnfCounter()
Returns the number of generated CNF auxiliary variables.- Returns:
- the number of generated CNF auxiliary variables
-
formulas
public int formulas()
Returns the number of all formulas in the factory.- Returns:
- the number of all formulas in the factory
-
-