3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-07 18:05:21 +00:00
z3/lib/pb2bv_model_converter.h
Leonardo de Moura e9eab22e5c Z3 sources
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-10-02 11:35:25 -07:00

40 lines
917 B
C++

/*++
Copyright (c) 2012 Microsoft Corporation
Module Name:
pb2bv_model_converter.h
Abstract:
Model converter for the pb2bv tactic.
Author:
Christoph (cwinter) 2012-02-15
Notes:
--*/
#ifndef _PB2BV_MODEL_CONVERTER_
#define _PB2BV_MODEL_CONVERTER_
#include"model_converter.h"
#include"bound_manager.h"
class pb2bv_model_converter : public model_converter {
typedef std::pair<func_decl *, func_decl *> func_decl_pair;
ast_manager & m;
svector<func_decl_pair> m_c2bit;
public:
pb2bv_model_converter(ast_manager & _m, obj_map<func_decl, expr*> const & c2bit, bound_manager const & bm);
virtual ~pb2bv_model_converter();
virtual void operator()(model_ref & md);
virtual void operator()(model_ref & md, unsigned goal_idx);
virtual void display(std::ostream & out);
virtual model_converter * translate(ast_translation & translator);
};
#endif