Go to the documentation of this file.
2 #ifndef __ROADMAP_NODE_H__
3 #define __ROADMAP_NODE_H__
6 #include <boost/shared_ptr.hpp>
80 unsigned int nParents()
const {
return parents_.size(); }
86 unsigned int nChildren()
const {
return children_.size(); }
124 #endif // __ROADMAP_NODE_H__
void addParent(RoadmapNodePtr node)
親ノードの追加
unsigned int nChildren() const
子ノードの数を取得
RoadmapNode(const Configuration &pos)
コンストラクタ
Configuration pos_
このノードの座標
void addChild(RoadmapNodePtr node)
子ノードの追加
Configuration & position()
位置の取得
std::vector< RoadmapNodePtr > parents_
親ノードリスト
bool visited() const
探索用フラグの値を取得する
std::ostream & operator<<(std::ostream &out, const Configuration &cfg)
void visited(bool flag)
探索用フラグを設定する
boost::shared_ptr< RoadmapNode > RoadmapNodePtr
unsigned int nParents() const
親ノードの数を取得
bool visited_
探索アルゴリズム用フラグ
std::vector< RoadmapNodePtr > children_
子ノードリスト
png_infop png_uint_32 flag
openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Wed Sep 7 2022 02:51:04