Module logicng

Class MaxSAT.Stats

  • Enclosing class:
    MaxSAT

    public class MaxSAT.Stats
    extends Object
    The MaxSAT solver statistics.
    • Field Detail

      • ubC

        protected final int ubC
      • nbS

        protected final int nbS
      • nbC

        protected final int nbC
      • avgCS

        protected final double avgCS
      • nbSC

        protected final int nbSC
    • Constructor Detail

      • Stats

        protected Stats()
    • Method Detail

      • bestSolution

        public int bestSolution()
        Returns the best solution or -1 if there is none.
        Returns:
        the best solution or -1 if there is none
      • satCalls

        public int satCalls()
        Returns the number of SAT calls.
        Returns:
        the number of SAT calls
      • unsatCalls

        public int unsatCalls()
        Returns the number of UNSAT calls (cores).
        Returns:
        the number of UNSAT calls (cores)
      • averageCoreSize

        public double averageCoreSize()
        Returns the average core size.
        Returns:
        the average core size
      • symmetryClauses

        public int symmetryClauses()
        Returns the number of symmetry clauses.
        Returns:
        the number of symmetry clauses