3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-12 04:03:39 +00:00

base -> core

This commit is contained in:
Nikolaj Bjorner 2021-11-29 19:55:10 -08:00
parent 959f4c9440
commit b5efb87118
3 changed files with 6 additions and 7 deletions

View file

@ -48,7 +48,7 @@ solver* mk_smt2_solver(ast_manager& m, params_ref const& p);
- statistics - statistics
- results based on check_sat_result API - results based on check_sat_result API
*/ */
class solver : public check_sat_result, public user_propagator::base{ class solver : public check_sat_result, public user_propagator::core {
params_ref m_params; params_ref m_params;
symbol m_cancel_backup_file; symbol m_cancel_backup_file;
public: public:

View file

@ -20,11 +20,11 @@ Notes:
--*/ --*/
#pragma once #pragma once
#include "tactic/goal.h"
#include "util/params.h" #include "util/params.h"
#include "util/statistics.h"
#include "tactic/tactic_exception.h"
#include "util/lbool.h" #include "util/lbool.h"
#include "util/statistics.h"
#include "tactic/goal.h"
#include "tactic/tactic_exception.h"
class progress_callback; class progress_callback;

View file

@ -24,7 +24,7 @@ namespace user_propagator {
typedef std::function<void(void*,unsigned)> pop_eh_t; typedef std::function<void(void*,unsigned)> pop_eh_t;
class base { class core {
public: public:
virtual void user_propagate_init( virtual void user_propagate_init(
@ -33,8 +33,7 @@ namespace user_propagator {
pop_eh_t& pop_eh, pop_eh_t& pop_eh,
fresh_eh_t& fresh_eh) { fresh_eh_t& fresh_eh) {
throw default_exception("user-propagators are only supported on the SMT solver"); throw default_exception("user-propagators are only supported on the SMT solver");
} }
virtual void user_propagate_register_fixed(fixed_eh_t& fixed_eh) { virtual void user_propagate_register_fixed(fixed_eh_t& fixed_eh) {
throw default_exception("user-propagators are only supported on the SMT solver"); throw default_exception("user-propagators are only supported on the SMT solver");