#include <BlindSatSolver.h>
Definition at line 39 of file BlindSatSolver.h.
Public Member Functions | |
LongSatItem (int length, long fromNumber) | |
virtual | ~LongSatItem () |
virtual int | getLength () const |
| |
virtual bool | getBit (int index) const |
| |
virtual LongSatItem * | clone () const |
|
LongSatItem | ( | int | length, | |
long | fromNumber | |||
) |
length | Item length responds the count of variables. | |
fromNumber | Long number representing item's data (bit by bit). |
Definition at line 31 of file BlindSatSolver.cpp.
Referenced by LongSatItem::clone().
~LongSatItem | ( | ) | [virtual] |
Definition at line 36 of file BlindSatSolver.cpp.
int getLength | ( | ) | const [virtual] |
Implements ISatItem.
Definition at line 38 of file BlindSatSolver.cpp.
bool getBit | ( | int | index | ) | const [virtual] |
index | Index value has to be in range <0, getLength()-1>. |
Implements ISatItem.
Definition at line 41 of file BlindSatSolver.cpp.
LongSatItem * clone | ( | ) | const [virtual] |
Implements ISatItem.
Definition at line 45 of file BlindSatSolver.cpp.
References LongSatItem::LongSatItem().
Referenced by BlindSatSolver::doStep().