Skip to content
Snippets Groups Projects
Commit 1f060a12 authored by Michael Leuschel's avatar Michael Leuschel
Browse files

add logger info

parent 14d32666
Branches
No related tags found
No related merge requests found
...@@ -162,6 +162,13 @@ public final class Request { ...@@ -162,6 +162,13 @@ public final class Request {
if (iterator.hasNext()) { if (iterator.hasNext()) {
Solution solution = iterator.next(); Solution solution = iterator.next();
instance = solution.instance(); instance = solution.instance();
if (logger.isLoggable(Level.FINE)) {
logger.fine("CNF translated in " + solution.stats().translationTime()
+ " ms and solved in " + solution.stats().solvingTime() + "ms ("
+ solution.stats().clauses() + " clauses, "
+ solution.stats().variables() + " variables, "
+ solution.stats().primaryVariables() + " primary variables)");
}
/* TO DO: maybe add a preference for this: */ /* TO DO: maybe add a preference for this: */
/* the information is printed on the output stream and then /* the information is printed on the output stream and then
read by ProB in get_solutions_from_stream in kodkod_process.pl */ read by ProB in get_solutions_from_stream in kodkod_process.pl */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment