SMT-RAT
24.02
Toolbox for Strategic and Parallel Satisfiability-Modulo-Theories Solving
|
Data Structures | |
class | RegionAllocator |
class | Heap |
struct | Hash |
struct | Equal |
struct | DeepHash |
struct | DeepEqual |
class | Map |
class | Option |
struct | IntRange |
struct | Int64Range |
struct | DoubleRange |
class | DoubleOption |
class | IntOption |
class | StringOption |
class | BoolOption |
class | Queue |
struct | Lit |
class | lbool |
class | Clause |
class | ClauseAllocator |
class | OccLists |
class | CMap |
struct | Watcher |
[Minisat related code] More... | |
struct | LessThan_default |
class | vec |
class | OutOfMemoryException |
Typedefs | |
typedef int | Var |
typedef RegionAllocator< uint32_t >::Ref | CRef |
Functions | |
template<class V , class T > | |
static void | remove (V &ts, const T &t) |
template<class V , class T > | |
static bool | find (V &ts, const T &t) |
template<class T > | |
static void | copy (const T &from, T &to) |
template<class T > | |
static void | copy (const vec< T > &from, vec< T > &to, bool append=false) |
template<class T > | |
static void | append (const vec< T > &from, vec< T > &to) |
static uint32_t | hash (uint32_t x) |
static uint32_t | hash (uint64_t x) |
static uint32_t | hash (int32_t x) |
static uint32_t | hash (int64_t x) |
void | printUsageAndExit (int argc, char **argv, bool verbose=false) |
void | setUsageHelp (const char *str) |
void | setHelpPrefixStr (const char *str) |
Lit | mkLit (Var var, bool sign=false) |
Lit | operator~ (Lit p) |
Lit | operator^ (Lit p, bool b) |
bool | sign (Lit p) |
int | var (Lit p) |
Lit | neg (Lit p) |
int | toInt (Var v) |
int | toInt (Lit p) |
Lit | toLit (int i) |
std::ostream & | operator<< (std::ostream &os, const Lit &l) |
int | toInt (lbool l) |
lbool | toLbool (int v) |
std::ostream & | operator<< (std::ostream &os, Minisat::lbool b) |
std::ostream & | operator<< (std::ostream &os, const Minisat::Clause &c) |
template<class T , class LessThan > | |
void | selectionSort (T *array, int size, LessThan lt) |
template<class T > | |
static void | selectionSort (T *array, int size) |
template<class T , class LessThan > | |
void | sort (T *array, int size, LessThan lt) |
template<class T > | |
static void | sort (T *array, int size) |
template<class T , class LessThan > | |
void | sort (vec< T > &v, LessThan lt) |
template<class T > | |
void | sort (vec< T > &v) |
template<typename T > | |
std::ostream & | operator<< (std::ostream &os, const vec< T > &v) |
template<> | |
std::ostream & | operator<< (std::ostream &os, const vec< char > &v) |
static void * | xrealloc (void *ptr, size_t size) |
Variables | |
static const int | nprimes = 25 |
static const int | primes [nprimes] = { 31, 73, 151, 313, 643, 1291, 2593, 5233, 10501, 21013, 42073, 84181, 168451, 337219, 674701, 1349473, 2699299, 5398891, 10798093, 21596719, 43193641, 86387383, 172775299, 345550609, 691101253 } |
const Lit | lit_Undef = { -2 } |
const Lit | lit_Error = { -1 } |
static const unsigned | NORMAL_CLAUSE = 0 |
static const unsigned | LEMMA_CLAUSE = 1 |
static const unsigned | CONFLICT_CLAUSE = 2 |
static const unsigned | PERMANENT_CLAUSE = 3 |
const CRef | CRef_Undef = RegionAllocator<uint32_t>::Ref_Undef |
const CRef | CRef_Lazy = RegionAllocator<uint32_t>::Ref_Undef - 1 |
const CRef | CRef_TPropagation = RegionAllocator<uint32_t>::Ref_Undef - 2 |
typedef RegionAllocator<uint32_t>::Ref Minisat::CRef |
Definition at line 143 of file SolverTypes.h.
typedef int Minisat::Var |
Definition at line 42 of file SolverTypes.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
Definition at line 232 of file SolverTypes.h.
|
inline |
|
inline |
|
inline |
Definition at line 62 of file SolverTypes.h.
Definition at line 61 of file SolverTypes.h.
void Minisat::printUsageAndExit | ( | int | argc, |
char ** | argv, | ||
bool | verbose = false |
||
) |
|
inlinestatic |
|
inlinestatic |
void Minisat::selectionSort | ( | T * | array, |
int | size, | ||
LessThan | lt | ||
) |
void Minisat::setHelpPrefixStr | ( | const char * | str | ) |
void Minisat::setUsageHelp | ( | const char * | str | ) |
|
inline |
|
inlinestatic |
void Minisat::sort | ( | T * | array, |
int | size, | ||
LessThan | lt | ||
) |
void Minisat::sort | ( | vec< T > & | v | ) |
void Minisat::sort | ( | vec< T > & | v, |
LessThan | lt | ||
) |
|
inline |
Definition at line 127 of file SolverTypes.h.
|
inline |
Definition at line 69 of file SolverTypes.h.
|
inline |
|
inline |
Definition at line 128 of file SolverTypes.h.
|
inline |
Definition at line 70 of file SolverTypes.h.
|
inline |
Definition at line 64 of file SolverTypes.h.
|
inlinestatic |
|
static |
Definition at line 147 of file SolverTypes.h.
const CRef Minisat::CRef_Lazy = RegionAllocator<uint32_t>::Ref_Undef - 1 |
Definition at line 247 of file SolverTypes.h.
const CRef Minisat::CRef_TPropagation = RegionAllocator<uint32_t>::Ref_Undef - 2 |
Definition at line 248 of file SolverTypes.h.
const CRef Minisat::CRef_Undef = RegionAllocator<uint32_t>::Ref_Undef |
Definition at line 246 of file SolverTypes.h.
|
static |
Definition at line 146 of file SolverTypes.h.
const Lit Minisat::lit_Error = { -1 } |
Definition at line 73 of file SolverTypes.h.
const Lit Minisat::lit_Undef = { -2 } |
Definition at line 72 of file SolverTypes.h.
|
static |
Definition at line 145 of file SolverTypes.h.
|
static |
Definition at line 148 of file SolverTypes.h.