mirror of
https://github.com/Z3Prover/z3
synced 2025-10-30 11:12:28 +00:00
fixing labels in duality
This commit is contained in:
parent
193e255387
commit
9d611997b3
4 changed files with 114 additions and 22 deletions
|
|
@ -434,6 +434,7 @@ namespace Duality {
|
|||
hash_map<func_decl,int> relMap;
|
||||
hash_map<ast,Term> varMap;
|
||||
Edge *map;
|
||||
Term labeled;
|
||||
|
||||
Edge(Node *_Parent, const Transformer &_F, const std::vector<Node *> &_Children, RPFP *_owner, int _number)
|
||||
: F(_F), Parent(_Parent), Children(_Children), dual(expr(_owner->ctx)) {
|
||||
|
|
@ -634,8 +635,7 @@ namespace Duality {
|
|||
#ifdef WIN32
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
void FromClauses(const std::vector<Term> &clauses,
|
||||
std::vector<std::vector<label_struct> > &clause_labels);
|
||||
void FromClauses(const std::vector<Term> &clauses);
|
||||
|
||||
void FromFixpointContext(fixedpoint fp, std::vector<Term> &queries);
|
||||
|
||||
|
|
@ -674,6 +674,10 @@ namespace Duality {
|
|||
|
||||
int EvalTruth(hash_map<ast,int> &memo, Edge *e, const Term &f);
|
||||
|
||||
void GetLabels(Edge *e, std::vector<symbol> &labels);
|
||||
|
||||
int GetLabelsRec(hash_map<ast,int> *memo, const Term &f, std::vector<symbol> &labels, bool labpos);
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue