p.next();
p.tend();
}
+#if NNVERSION>0
nn = p.nn(p.iy_, p.goal(), p.cost);
+#else
+ nn = p.nn(p.nodes(), p.goal(), p.cost);
+#endif
tr = p.findt(nn);
p.tlog(tr);
#if JSONLOGEDGES > 0
}
if (to_del < this->nodes_.size())
this->nodes_.erase(this->nodes_.begin() + to_del);
+#if NNVERSION > 0
iy = floor(tmp->y() / IYSTEP);
to_del = this->iy_[iy].size();
#pragma omp parallel for reduction(min: to_del)
}
if (to_del < this->iy_[iy].size())
this->iy_[iy].erase(this->iy_[iy].begin() + to_del);
+#endif
this->dnodes().push_back(tmp);
}
this->root_ = nr;