Open zapashcanon opened 8 months ago
Where would printing the solver statistics make more sense? In this example you're doing it after each solver interaction. I was thinking it might be more appropriate at the end of the analysis, with all the stats accumulated. However, considering that the solver is part of the multi-threaded choice monad, gathering the statistics of every spawned solver may not be straightforward. What do you think?
For now, statistics are displayed after Solver.get_model
call.
I believe we should start by trying to have a proper type of solver statistics into Smt.ml and then have a way to "add" two of them, WDYT @filipeom ?
This is already available in smtml. We would just need to collect solver statistics and merge them at the end
Oh, I didn't know that!
I'll take a look into this, if it's quick I can make a PR to address this
the quick&dirty way to do it for reference: