Public Methods | |
CacheEntry (int moves_to_solve, int depth, bool calculated) | |
int | movesToSolve () const |
bool | unsolvable () const |
void | setMovesToSolve (int moves_to_solve) |
int | depth () const |
void | setDepth (int new_depth) |
bool | wasCalculated () const |
bool | wasTouched () const |
void | touch () |
void | untouch () |
Private Attributes | |
Q_UINT32 | m_data |
|
Constructs the cache entry. The new entrie is considered touched.
|
|
Returns the depth.
|
|
Returns the number of moves to solve.
|
|
Sets a new depth.
|
|
Sets a new number of moves to solve. The entries is now considered to be not calculated.
|
|
Touches the entry.
|
|
Returns true, if the entry is unsolvable.
|
|
Untouches the entry.
|
|
Returns true, if the entry is calculated.
|
|
Returns true, if the entry was touched.
|
|
Here we store the data.
|