22 lines
465 B
C++
22 lines
465 B
C++
#ifndef _sharer_hpp_INCLUDED
|
|
#define _sharer_hpp_INCLUDED
|
|
#include "../utils/paras.hpp"
|
|
|
|
class basesolver;
|
|
class sharer {
|
|
public:
|
|
int id;
|
|
int share_intv, share_lits;
|
|
vec<vec<clause_store *>> bucket[32]; //need to update
|
|
vec<basesolver *> producers, consumers;
|
|
vec<clause_store *> cls;
|
|
sharer(int idx, int intv, int lits) {
|
|
share_intv = intv;
|
|
share_lits = lits;
|
|
id = idx;
|
|
}
|
|
|
|
int sort_clauses(int x);
|
|
};
|
|
|
|
#endif |