- java.lang.Object
-
- org.logicng.solvers.maxsat.algorithms.MaxSAT.Stats
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedStats()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleaverageCoreSize()Returns the average core size.intbestSolution()Returns the best solution or -1 if there is none.intsatCalls()Returns the number of SAT calls.intsymmetryClauses()Returns the number of symmetry clauses.StringtoString()intunsatCalls()Returns the number of UNSAT calls (cores).
-
-
-
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
-
-