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