Represents a simple class for clause storage. More...
#include <ogdf/external/Minisat.h>
Public Member Functions | |
Clause () | |
Clause (const Clause &src) | |
virtual | ~Clause () |
void | add (Internal::Var signedVar) |
adds a literal to the clause | |
void | addMultiple (int Amount,...) |
add multiple literals to the clause | |
bool | getSign (Internal::Var x) |
returns the sign of a variable if its present within the clause, if the variable is not representet false will be returned with a message | |
void | removeLit (Internal::Var x) |
void | setSign (Internal::Var x, bool sign) |
sets the sign of a variable if its present within the clause | |
void | writeToConsole () |
Static Public Member Functions | |
static char | convertLitSign (Internal::Lit lit) |
converts the sign of a lit into char | |
Public Attributes | |
Internal::vec< Internal::Lit > | m_ps |
Represents a simple class for clause storage.
This class is not similar to clause from Minisat. Only use it as a wrapper. Use clause as a pointer-type of Clause.
|
inline |
add multiple literals to the clause
Amount | is the number of literals to add to the clause |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
Internal::vec<Internal::Lit> Minisat::Clause::m_ps |