Module logicng

Class FormulaFactory.FormulaFactoryStatistics

  • Enclosing class:
    FormulaFactory

    public static final class FormulaFactory.FormulaFactoryStatistics
    extends Object
    A class for statistics of the formula factory.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int ccCounter()
      Returns the number of generated cardinality constraint auxiliary variables.
      int ccs()
      Returns the number of cardinality constraints in the factory.
      int cnfCounter()
      Returns the number of generated CNF auxiliary variables.
      int conjunctions2()
      Returns the number of conjunctions of size 2 in the factory.
      int conjunctions3()
      Returns the number of conjunctions of size 3 in the factory.
      int conjunctions4()
      Returns the number of conjunctions of size 4 in the factory.
      int conjunctionsN()
      Returns the number of conjunctions of a size >4 in the factory.
      int disjunctions2()
      Returns the number of disjunctions of size 2 in the factory.
      int disjunctions3()
      Returns the number of disjunctions of size 3 in the factory.
      int disjunctions4()
      Returns the number of disjunctions of size 4 in the factory.
      int disjunctionsN()
      Returns the number of disjunctions of a size >4 in the factory.
      boolean equals​(Object o)  
      int equivalences()
      Returns the number of equivalences in the factory.
      int formulas()
      Returns the number of all formulas in the factory.
      int hashCode()  
      int implications()
      Returns the number of implications in the factory.
      String name()
      Returns the name of the formula factory.
      int negations()
      Returns the number of negations in the factory.
      int negativeLiterals()
      Returns the number of negative literals in the factory.
      int pbCounter()
      Returns the number of generated pseudo-Boolean auxiliary variables.
      int pbcs()
      Returns the number of pseudo-Boolean constraints in the factory.
      int positiveLiterals()
      Returns the number of positive literals in the factory.
      String toString()  
    • Constructor Detail

      • FormulaFactoryStatistics

        public FormulaFactoryStatistics()
    • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object