mirror of
https://github.com/Z3Prover/z3
synced 2025-07-24 21:26:59 +00:00
fixed duality bug and added some code for returning bounded status (not yet used)
This commit is contained in:
parent
e17af8a5de
commit
70a1155d71
5 changed files with 93 additions and 1 deletions
|
@ -53,6 +53,7 @@ namespace datalog {
|
|||
MEMOUT,
|
||||
INPUT_ERROR,
|
||||
APPROX,
|
||||
BOUNDED,
|
||||
CANCELED
|
||||
};
|
||||
|
||||
|
@ -304,6 +305,8 @@ namespace datalog {
|
|||
\brief Retrieve predicates
|
||||
*/
|
||||
func_decl_set const& get_predicates() const { return m_preds; }
|
||||
ast_ref_vector const &get_pinned() const {return m_pinned; }
|
||||
|
||||
bool is_predicate(func_decl* pred) const { return m_preds.contains(pred); }
|
||||
bool is_predicate(expr * e) const { return is_app(e) && is_predicate(to_app(e)->get_decl()); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue