//------------------------------------------------------------------------------ //deleteData() -- delete member data //------------------------------------------------------------------------------ void Puzzle::deleteData() { setInitState(nullptr); setGoalState(nullptr); clearOpenList(); clearHashTable(); }
void ompl::base::ProblemDefinition::setStartAndGoalStates(const State *start, const State *goal, const double threshold) { clearStartStates(); addStartState(start); setGoalState(goal, threshold); }