GaitGeneration by Graph Search
読み取り中…
検索中…
一致する文字列を見つけられません
interface_node_creator.h
[詳解]
1
3
4// Copyright(c) 2023-2025 Design Engineering Laboratory, Saitama University
5// Released under the MIT license
6// https://opensource.org/licenses/mit-license.php
7
8#ifndef DESIGNLAB_INTERFACE_NODE_CREATOR_H_
9#define DESIGNLAB_INTERFACE_NODE_CREATOR_H_
10
11#include <vector>
12
13#include "robot_state_node.h"
14
15
16namespace designlab
17{
18
22{
23public:
25 INodeCreator() = default;
26 virtual ~INodeCreator() = default;
27
28
33 virtual void Create(const RobotStateNode& current_node, int current_node_index,
34 std::vector<RobotStateNode>* output_graph) const = 0;
35};
36
37} // namespace designlab
38
39
40#endif // DESIGNLAB_INTERFACE_NODE_CREATOR_H_
ノード生成処理のインターフェース.
INodeCreator()=default
コンストラクタでは次動作を設定する.またマップのポインタを受け取る.
virtual ~INodeCreator()=default
virtual void Create(const RobotStateNode &current_node, int current_node_index, std::vector< RobotStateNode > *output_graph) const =0
現在のノードから次のノード群を生成する.
グラフ構造のためのノード(頂点).旧名 LNODE