GaitGeneration by Graph Search
全て クラス 名前空間 ファイル 関数 変数 型定義 列挙型 列挙値 マクロ定義 ページ Concepts
公開メンバ関数 | 全メンバ一覧
designlab::GraphTreeCreator クラスfinal

歩容パターングラフを作成するクラス. [詳解]

#include <graph_tree_creator.h>

公開メンバ関数

 GraphTreeCreator (std::unique_ptr< INodeCreatorBuilder > &&node_creator_builder_ptr)
 
 ~GraphTreeCreator ()=default
 
void Init (const DividedMapState &map_state)
 ノード生成クラスを初期化する.
 
GraphSearchResult CreateGraphTree (int start_depth, int max_depth, GaitPatternGraphTree *graph_ptr) const
 歩容パターングラフを作成する.
 

詳解

歩容パターングラフを作成するクラス.

先行研究のプログラムを見ればわかる通り,実際には処理効率をあげるために,
複数スレッド同時に処理を行うのだが,このクラスでは単一のスレッドで処理を行う.

graph_tree_creator.h28 行目に定義があります。

構築子と解体子

◆ GraphTreeCreator()

designlab::GraphTreeCreator::GraphTreeCreator ( std::unique_ptr< INodeCreatorBuilder > &&  node_creator_builder_ptr)
explicit

graph_tree_creator.cpp21 行目に定義があります。

◆ ~GraphTreeCreator()

designlab::GraphTreeCreator::~GraphTreeCreator ( )
default

関数詳解

◆ CreateGraphTree()

GraphSearchResult designlab::GraphTreeCreator::CreateGraphTree ( int  start_depth,
int  max_depth,
GaitPatternGraphTree graph_ptr 
) const

歩容パターングラフを作成する.

引数
[in]start_depth作成するグラフの開始深さ.
[in]max_depth作成するグラフの最大深さ.
[out]graph_ptr作成したグラフを代入するためのポインタ.
戻り値
グラフの作成に成功したかどうか.

graph_tree_creator.cpp36 行目に定義があります。

呼び出し関係図:
被呼び出し関係図:

◆ Init()

void designlab::GraphTreeCreator::Init ( const DividedMapState map_state)

ノード生成クラスを初期化する.

引数
[in]map_stateマップの状態.

graph_tree_creator.cpp28 行目に定義があります。


このクラス詳解は次のファイルから抽出されました: