ロードマップのノード More...
#include <RoadmapNode.h>
Public Member Functions | |
| void | addChild (RoadmapNodePtr node) |
| 子ノードの追加 More... | |
| void | addParent (RoadmapNodePtr node) |
| 親ノードの追加 More... | |
| RoadmapNodePtr | child (unsigned int index) |
| 子ノードの取得 More... | |
| unsigned int | nChildren () const |
| 子ノードの数を取得 More... | |
| unsigned int | nParents () const |
| 親ノードの数を取得 More... | |
| RoadmapNodePtr | parent (unsigned int index) |
| 親ノードの取得 More... | |
| Configuration & | position () |
| 位置の取得 More... | |
| bool | removeChild (RoadmapNodePtr node) |
| 子ノードの削除 More... | |
| bool | removeParent (RoadmapNodePtr node) |
| 親ノードの削除 More... | |
| RoadmapNode (const Configuration &pos) | |
| コンストラクタ More... | |
| void | visited (bool flag) |
| 探索用フラグを設定する More... | |
| bool | visited () const |
| 探索用フラグの値を取得する More... | |
| ~RoadmapNode () | |
| デストラクタ More... | |
Private Attributes | |
| std::vector< RoadmapNodePtr > | children_ |
| 子ノードリスト More... | |
| std::vector< RoadmapNodePtr > | parents_ |
| 親ノードリスト More... | |
| Configuration | pos_ |
| このノードの座標 More... | |
| bool | visited_ |
| 探索アルゴリズム用フラグ More... | |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const RoadmapNode &r) |
ロードマップのノード
Definition at line 17 of file RoadmapNode.h.
|
inline |
|
inline |
デストラクタ
Definition at line 28 of file RoadmapNode.h.
|
inline |
|
inline |
| RoadmapNodePtr RoadmapNode::child | ( | unsigned int | index | ) |
子ノードの取得
| index | 子ノードのインデックス |
Definition at line 11 of file RoadmapNode.cpp.
|
inline |
|
inline |
| RoadmapNodePtr RoadmapNode::parent | ( | unsigned int | index | ) |
親ノードの取得
| index | 親ノードのインデックス |
Definition at line 5 of file RoadmapNode.cpp.
|
inline |
| bool RoadmapNode::removeChild | ( | RoadmapNodePtr | node | ) |
| bool RoadmapNode::removeParent | ( | RoadmapNodePtr | node | ) |
|
inline |
|
inline |
|
friend |
Definition at line 120 of file RoadmapNode.h.
|
private |
子ノードリスト
Definition at line 108 of file RoadmapNode.h.
|
private |
親ノードリスト
Definition at line 103 of file RoadmapNode.h.
|
private |
このノードの座標
Definition at line 113 of file RoadmapNode.h.
|
private |
探索アルゴリズム用フラグ
Definition at line 118 of file RoadmapNode.h.