mirror of
https://github.com/Z3Prover/z3
synced 2025-08-15 23:35:26 +00:00
pfor
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
9262908ebb
commit
59330b3855
5 changed files with 23 additions and 15 deletions
|
@ -23,6 +23,7 @@ Revision History:
|
|||
#include "util/hashtable.h"
|
||||
#include "util/map.h"
|
||||
#include "util/rlimit.h"
|
||||
#include "util/scoped_ptr_vector.h"
|
||||
|
||||
namespace sat {
|
||||
|
||||
|
@ -69,7 +70,7 @@ namespace sat {
|
|||
bool m_consumer_ready;
|
||||
|
||||
scoped_limits m_scoped_rlimit;
|
||||
vector<reslimit> m_limits;
|
||||
scoped_ptr_vector<reslimit> m_limits;
|
||||
ptr_vector<solver> m_solvers;
|
||||
|
||||
public:
|
||||
|
@ -87,7 +88,7 @@ namespace sat {
|
|||
|
||||
solver& get_solver(unsigned i) { return *m_solvers[i]; }
|
||||
|
||||
void cancel_solver(unsigned i) { m_limits[i].cancel(); }
|
||||
void cancel_solver(unsigned i) { m_limits[i]->cancel(); }
|
||||
|
||||
// exchange unit literals
|
||||
void exchange(solver& s, literal_vector const& in, unsigned& limit, literal_vector& out);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue