Search in sources :

Example 1 with Statistics

use of kodkod.engine.Statistics in project org.alloytools.alloy by AlloyTools.

the class SymmetryBreakingTest method solve.

private Instance solve(Formula f, Bounds b) {
    final Solution sol = solver.solve(f, b);
    final Statistics stats = sol.stats();
    pVars = stats.primaryVariables();
    iVars = stats.variables() - pVars;
    clauses = stats.clauses();
    return sol.instance();
}
Also used : Statistics(kodkod.engine.Statistics) Solution(kodkod.engine.Solution)

Aggregations

Solution (kodkod.engine.Solution)1 Statistics (kodkod.engine.Statistics)1