|
Assignment Search Framework
|

Public Member Functions | |
| SingleGoalTest (const state_t &g) | |
| virtual | ~SingleGoalTest () |
| virtual bool | isGoal (const state_t &state) const |
| virtual void | setGoal (const state_t &g) |
| state_t | getCurrentGoal () const |
Public Member Functions inherited from GoalTestFunction< state_t > | |
| GoalTestFunction () | |
| virtual | ~GoalTestFunction () |
Protected Attributes | |
| state_t | goal |
| The stored goal state. More... | |
Defines a goal test function when there is a single goal state.
| SingleGoalTest< state_t >::SingleGoalTest | ( | const state_t & | g | ) |
Constructs a goal test function where there is a given single goal state.
| g | The goal state. |
|
virtual |
Destructor for a single goal test function. Destructor is empty.
| state_t SingleGoalTest< state_t >::getCurrentGoal | ( | ) | const |
Returns the current goal state.
|
virtual |
Performs the goal test on the given state.
| state | The state to test. |
Implements GoalTestFunction< state_t >.
|
virtual |
Resets the goal state to a new given state.
| g | The new goal state. |
|
protected |
The stored goal state.