3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 11:55:51 +00:00

resetting SLS engine between calls, moved statistics collection to engine

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2014-04-19 16:52:57 -07:00
parent ff154a09b3
commit b300041075
5 changed files with 41 additions and 22 deletions

View file

@ -27,6 +27,7 @@ Notes:
#include"sls_compilation_settings.h"
#include"sls_tracker.h"
#include"sls_evaluator.h"
#include"statistics.h"
class sls_engine {
public:
@ -96,7 +97,8 @@ public:
void assert_expr(expr * e) { m_assertions.push_back(e); }
stats const & get_stats(void) { return m_stats; }
// stats const & get_stats(void) { return m_stats; }
void collect_statistics(statistics & st) const;
void reset_statistics(void) { m_stats.reset(); }
bool full_eval(model & mdl);