abc-master
|
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 | StreamBuffer |
class | Queue |
class | SimpSolver |
class | Solver |
struct | Lit |
class | lbool |
class | Clause |
class | ClauseAllocator |
class | OccLists |
class | CMap |
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) |
template<class B , class Solver > | |
static void | readClause (B &in, Solver &S, vec< Lit > &lits) |
template<class B , class Solver > | |
static void | parse_DIMACS_main (B &in, Solver &S) |
template<class Solver > | |
static void | parse_DIMACS (gzFile input_stream, Solver &S) |
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) |
int | parseOptions (int &argc, char **argv, bool strict=false) |
int | printUsageAndExit (int argc, char **argv, bool verbose=false) |
void | setUsageHelp (const char *str) |
void | setHelpPrefixStr (const char *str) |
static bool | isEof (StreamBuffer &in) |
static bool | isEof (const char *in) |
template<class B > | |
static void | skipWhitespace (B &in) |
template<class B > | |
static void | skipLine (B &in) |
template<class B > | |
static int | parseInt (B &in) |
template<class B > | |
static bool | match (B &in, const char *str) |
template<class B > | |
static bool | eagerMatch (B &in, const char *str) |
Lit | mkLit (Var var, bool sign) |
Lit | operator~ (Lit p) |
Lit | operator^ (Lit p, bool b) |
bool | sign (Lit p) |
int | var (Lit p) |
int | toInt (Var v) |
int | toInt (Lit p) |
Lit | toLit (int i) |
int | toInt (lbool l) |
lbool | toLbool (int v) |
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) |
static double | cpuTime (void) |
double | memUsed () |
double | memUsedPeak () |
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 } |
static const int | buffer_size = 1048576 |
const Lit | lit_Undef = { -2 } |
const Lit | lit_Error = { -1 } |
const CRef | CRef_Undef = RegionAllocator<uint32_t>::Ref_Undef |
typedef RegionAllocator<uint32_t>::Ref Minisat::CRef |
Definition at line 120 of file SolverTypes.h.
typedef int Minisat::Var |
Definition at line 42 of file SolverTypes.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 112 of file ParseUtils.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 61 of file ParseUtils.h.
Definition at line 62 of file ParseUtils.h.
Definition at line 99 of file ParseUtils.h.
double Minisat::memUsed | ( | ) |
Definition at line 93 of file System.cpp.
double Minisat::memUsedPeak | ( | ) |
Definition at line 94 of file System.cpp.
Definition at line 58 of file SolverTypes.h.
Definition at line 60 of file SolverTypes.h.
|
inline |
Definition at line 59 of file SolverTypes.h.
|
static |
|
static |
Definition at line 48 of file Dimacs.h.
|
static |
Definition at line 83 of file ParseUtils.h.
Definition at line 26 of file Options.cpp.
Definition at line 60 of file Options.cpp.
|
static |
|
inlinestatic |
void Minisat::selectionSort | ( | T * | array, |
int | size, | ||
LessThan | lt | ||
) |
|
inlinestatic |
void Minisat::setHelpPrefixStr | ( | const char * | str | ) |
Definition at line 59 of file Options.cpp.
void Minisat::setUsageHelp | ( | const char * | str | ) |
Definition at line 58 of file Options.cpp.
|
inline |
Definition at line 61 of file SolverTypes.h.
|
static |
Definition at line 75 of file ParseUtils.h.
|
static |
Definition at line 69 of file ParseUtils.h.
void Minisat::sort | ( | T * | array, |
int | size, | ||
LessThan | lt | ||
) |
|
inlinestatic |
void Minisat::sort | ( | vec< T > & | v, |
LessThan | lt | ||
) |
void Minisat::sort | ( | vec< T > & | v | ) |
|
inline |
Definition at line 65 of file SolverTypes.h.
|
inline |
Definition at line 66 of file SolverTypes.h.
|
inline |
Definition at line 114 of file SolverTypes.h.
|
inline |
Definition at line 115 of file SolverTypes.h.
|
inline |
Definition at line 67 of file SolverTypes.h.
|
inline |
Definition at line 62 of file SolverTypes.h.
|
inlinestatic |
|
static |
Definition at line 34 of file ParseUtils.h.
const CRef Minisat::CRef_Undef = RegionAllocator<uint32_t>::Ref_Undef |
Definition at line 193 of file SolverTypes.h.
Definition at line 73 of file SolverTypes.h.
Definition at line 72 of file SolverTypes.h.