Search algorithms for the 8-puzzle solution
|
Abtract class for heuristic functions. More...
#include <Heuristic.hpp>
Public Member Functions | |
virtual int | calc (GameState ¤tState)=0 |
Calculates the heuristic value for a state. More... | |
Abtract class for heuristic functions.
Definition at line 13 of file Heuristic.hpp.
|
pure virtual |
Calculates the heuristic value for a state.
currentState | the state to be evaluated |
Implemented in TileDifference, and Manhattan.