3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-30 20:35:51 +00:00

working on udoc

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2014-09-21 20:25:11 -07:00
parent a50cbef877
commit 22808a039d
17 changed files with 171 additions and 39 deletions

View file

@ -465,6 +465,14 @@ namespace datalog {
relation_manager & get_manager() const { return get_plugin().get_manager(); }
virtual bool empty() const = 0;
/**
\brief fast emptiness check. This may be partial.
The requirement is that if fast_empty returns true
then the table or relation is in fact empty.
It is allowed to return false even if the relation is non-empty.
*/
virtual bool fast_empty() const { return empty(); }
virtual void add_fact(const fact & f) = 0;
/**
\brief Like \c add_fact, only here the caller guarantees that the fact is not present in