#include "Sort.h"
#include "SimpSolver.h"
#include "System.h"
Go to the source code of this file.
|
static const char * | _cat = "SIMP" |
|
static BoolOption | opt_use_asymm (_cat,"asymm","Shrink clauses by asymmetric branching.", false) |
|
static BoolOption | opt_use_rcheck (_cat,"rcheck","Check if a clause is already implied. (costly)", false) |
|
static BoolOption | opt_use_elim (_cat,"elim","Perform variable elimination.", true) |
|
static IntOption | opt_grow (_cat,"grow","Allow a variable elimination step to grow by a number of clauses.", 0) |
|
static IntOption | opt_clause_lim (_cat,"cl-lim","Variables are not eliminated if it produces a resolvent with a length above this limit. -1 means no limit", 20, IntRange(-1, INT32_MAX)) |
|
static IntOption | opt_subsumption_lim (_cat,"sub-lim","Do not check if subsumption against a clause larger than this. -1 means no limit.", 1000, IntRange(-1, INT32_MAX)) |
|
static DoubleOption | opt_simp_garbage_frac (_cat,"simp-gc-frac","The fraction of wasted memory allowed before a garbage collection is triggered during simplification.", 0.5, DoubleRange(0, false, HUGE_VAL, false)) |
|
#define __STDC_FORMAT_MACROS |
#define __STDC_LIMIT_MACROS |
static void mkElimClause |
( |
vec< uint32_t > & |
elimclauses, |
|
|
Lit |
x |
|
) |
| |
|
static |
static void mkElimClause |
( |
vec< uint32_t > & |
elimclauses, |
|
|
Var |
v, |
|
|
Clause & |
c |
|
) |
| |
|
static |
Definition at line 461 of file SimpSolver.cc.
463 int first = elimclauses.
size();
468 for (
int i = 0; i < c.
size(); i++){
477 uint32_t tmp = elimclauses[v_pos];
478 elimclauses[v_pos] = elimclauses[first];
479 elimclauses[first] = tmp;
const char* _cat = "SIMP" |
|
static |
IntOption opt_clause_lim(_cat,"cl-lim","Variables are not eliminated if it produces a resolvent with a length above this limit. -1 means no limit", 20, IntRange(-1, INT32_MAX)) |
|
static |
IntOption opt_grow(_cat,"grow","Allow a variable elimination step to grow by a number of clauses.", 0) |
|
static |
DoubleOption opt_simp_garbage_frac(_cat,"simp-gc-frac","The fraction of wasted memory allowed before a garbage collection is triggered during simplification.", 0.5, DoubleRange(0, false, HUGE_VAL, false)) |
|
static |
IntOption opt_subsumption_lim(_cat,"sub-lim","Do not check if subsumption against a clause larger than this. -1 means no limit.", 1000, IntRange(-1, INT32_MAX)) |
|
static |
BoolOption opt_use_asymm(_cat,"asymm","Shrink clauses by asymmetric branching.", false) |
|
static |
BoolOption opt_use_elim(_cat,"elim","Perform variable elimination.", true) |
|
static |
BoolOption opt_use_rcheck(_cat,"rcheck","Check if a clause is already implied. (costly)", false) |
|
static |