clingo
|
A clause class optimized for preprocessing. More...
#include <shared_context.h>
Public Member Functions | |
uint32 | size () const |
const Literal & | operator[] (uint32 x) const |
bool | inQ () const |
uint64 | abstraction () const |
Clause * | next () const |
bool | marked () const |
Literal & | operator[] (uint32 x) |
void | setInQ (bool b) |
void | setMarked (bool b) |
uint64 & | abstraction () |
Clause * | linkRemoved (Clause *next) |
void | strengthen (Literal p) |
void | simplify (Solver &s) |
void | destroy () |
Static Public Member Functions | |
static Clause * | newClause (const Literal *lits, uint32 size) |
static uint64 | abstractLit (Literal p) |
A clause class optimized for preprocessing.
|
inline |
|
inline |
|
inlinestatic |
void Clasp::SatPreprocessor::Clause::destroy | ( | ) |
|
inline |
|
inline |
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void Clasp::SatPreprocessor::Clause::simplify | ( | Solver & | s | ) |
|
inline |
void Clasp::SatPreprocessor::Clause::strengthen | ( | Literal | p | ) |
uint64 Clasp::SatPreprocessor::Clause::abstr |
Clause* Clasp::SatPreprocessor::Clause::next |