42 if (state_ != nullptr)
53 out << "Goal state, threshold = " << threshold_ << ", memory address = " << this << ", state = " << std::endl;
The space information for this goal.
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.
virtual double distanceGoal(const State *st) const override
Compute the distance to the goal (heuristic)
const State * getState() const
Get the goal state.
unsigned int maxSampleCount() const override
Return the maximum number of samples that can be asked for before repeating.