return this->s_;
}
+RRTNode *RRTNode::rs() const
+{
+ return this->rs_;
+}
+
float RRTNode::ccost() const
{
return this->ccost_;
this->s_ = cs;
}
+void RRTNode::rs(RRTNode *rs)
+{
+ this->rs_ = rs;
+}
+
bool RRTNode::add_child(RRTNode *node, float cost)
{
return this->add_child(node, cost, 1);