Represents a simple class for clause storage.
More...
#include <ogdf/external/Minisat.h>
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.
Definition at line 64 of file Minisat.h.
◆ Clause() [1/2]
Minisat::Clause::Clause |
( |
| ) |
|
|
inline |
◆ Clause() [2/2]
Minisat::Clause::Clause |
( |
const Clause & |
src | ) |
|
|
inline |
◆ ~Clause()
virtual Minisat::Clause::~Clause |
( |
| ) |
|
|
inlinevirtual |
◆ add()
adds a literal to the clause
- Parameters
-
signedVar | is a signed int representing a variable |
Definition at line 81 of file Minisat.h.
◆ addMultiple()
void Minisat::Clause::addMultiple |
( |
int |
Amount, |
|
|
|
... |
|
) |
| |
add multiple literals to the clause
- Parameters
-
Amount | is the number of literals to add to the clause |
◆ convertLitSign()
converts the sign of a lit into char
Definition at line 132 of file Minisat.h.
◆ getSign()
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
Definition at line 109 of file Minisat.h.
◆ removeLit()
◆ setSign()
sets the sign of a variable if its present within the clause
Definition at line 98 of file Minisat.h.
◆ writeToConsole()
void Minisat::Clause::writeToConsole |
( |
| ) |
|
|
inline |
◆ m_ps
The documentation for this class was generated from the following file: