void ompl::geometric::SPARStwo::clear() { Planner::clear(); clearQuery(); resetFailures(); iterations_ = 0; bestCost_ = base::Cost(std::numeric_limits<double>::quiet_NaN()); freeMemory(); if (nn_) nn_->clear(); }
void ompl::geometric::SPARS::clear(void) { Planner::clear(); sampler_.reset(); simpleSampler_.reset(); freeMemory(); if (nn_) nn_->clear(); if (snn_) snn_->clear(); clearQuery(); resetFailures(); iterations_ = 0; }