42 if (state_ != nullptr)
53 out << "Goal state, threshold = " << threshold_ << ", memory address = " << this << ", state = " << std::endl;
The space information for this goal.
void setState(const ScopedState<> &st)
Set the goal state.
StateType * get()
Returns a pointer to the contained state.
void print(std::ostream &out=std::cout) const override
Print information about the goal data structure to a stream.
void sampleGoal(State *st) const override
Sample a state in the goal region.
const State * getState() const
Get the goal state.
double distanceGoal(const State *st) const override
Compute the distance to the goal (heuristic)
unsigned int maxSampleCount() const override
Return the maximum number of samples that can be asked for before repeating.