-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSATPreprocessor.h
54 lines (42 loc) · 1.24 KB
/
SATPreprocessor.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#ifndef SATPreprocessor_h
#define SATPreprocessor_h
//////////////////////////////////////////////////////////////////////////////////////////////////
// SATPreprocessor
/////////////////
// OS Includes
//////////////
// Includes
/////////////
// Defines
////////////////////////
// Class Declarations
class ClauseList;
class VariableSet;
class VariableStruct;
//////////////////////////////////////////////////////////////////////////////////////////////////
// Class Definitions
class SATPreprocessor {
public:
SATPreprocessor() {}
boolean bPreprocess(ClauseList& xAllClauses_,
VariableStruct*,
int iVariableCount_,
ClauseList& _xLearnedList);
private:
boolean _bRedundancyCheck(Clause* pClause_);
int _iRedundancyCheck(Clause* pClause1_, Clause* pClause2_);
boolean _bResolve(Clause* pClause_);
Clause* _pResolve(Clause* pClause1_,
Clause* pClause2_,
VariableID iResolveVariable_);
void _vAddClause(Clause*);
VariableStruct* _aVariableStruct;
ClauseList* _pLearnedList;
ClauseList _xDeleteUs;
VariableSet* _pSet0;
VariableSet* _pSet1;
int _iRedundantCount;
};
//////////////////////////////////////////////////////////////////////////////////////////////////
// Inlines
#endif //<file>_h