3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-29 22:40:08 +00:00

remove model converter from transformer operators. Rely on reference in context

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2013-03-29 08:13:07 -07:00
parent 96f4606a7f
commit 06e3b6cfb8
41 changed files with 61 additions and 74 deletions

View file

@ -23,7 +23,6 @@ Revision History:
#include"vector.h"
#include"dl_rule.h"
#include"dl_rule_set.h"
#include"model_converter.h"
namespace datalog {
@ -68,7 +67,7 @@ namespace datalog {
\brief Transform the rule set using the registered transformation plugins. If the rule
set has changed, return true; otherwise return false.
*/
bool operator()(rule_set & rules, model_converter_ref& mc);
bool operator()(rule_set & rules);
};
class rule_transformer::plugin {
@ -104,8 +103,7 @@ namespace datalog {
The caller takes ownership of the returned \c rule_set object.
*/
virtual rule_set * operator()(rule_set const & source,
model_converter_ref& mc) = 0;
virtual rule_set * operator()(rule_set const & source) = 0;
virtual void cancel() { m_cancel = true; }