3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-04 22:35:45 +00:00

Reorganizing the code

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2012-10-20 19:30:14 -07:00
parent ded42feeb6
commit 8b70f0b833
24 changed files with 1 additions and 0 deletions

View file

@ -1,34 +0,0 @@
/*++
Copyright (c) 2011 Microsoft Corporation
Module Name:
model_core.cpp
Abstract:
Base class for models.
Author:
Leonardo de Moura (leonardo) 2011-04-30.
Revision History:
--*/
#include"model_core.h"
bool model_core::eval(func_decl* f, expr_ref & r) const {
if (f->get_arity() == 0) {
r = get_const_interp(f);
return r != 0;
}
else {
func_interp * fi = get_func_interp(f);
if (fi != 0) {
r = fi->get_interp();
return r != 0;
}
return false;
}
}