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

Make Groebner basis computation interruptable. Exponsed in issue #269

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2015-10-28 11:39:59 -07:00
parent 2a95a77706
commit 6b82b949cf
5 changed files with 52 additions and 25 deletions

View file

@ -251,6 +251,15 @@ public:
*/
bool compute_basis(unsigned threshold);
/**
\brief Compute one step Grobner basis.
Return true if there is no new equation to take.
*/
void compute_basis_init();
bool compute_basis_step();
unsigned get_num_new_equations() { return m_num_new_equations; }
/**
\brief Return true if an inconsistency was detected.
*/