GaitGeneration by Graph Search
読み取り中…
検索中…
一致する文字列を見つけられません
simulation_result_record.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_SIMULATION_RESULT_RECORD_H_
9#define DESIGNLAB_SIMULATION_RESULT_RECORD_H_
10
11#include <string>
12#include <vector>
13
15#include "map_state.h"
16
17
18namespace designlab::enums
19{
20
37
38} // namespace designlab::enums
39
40
41namespace designlab
42{
43
48{
52 std::string ToCsvString() const;
53
54
56 std::vector<GraphSearchResultRecord> graph_search_result_recorder;
57
59
61};
62
63} // namespace designlab
64
65
66#endif // DESIGNLAB_SIMULATION_RESULT_RECORD_H_
マップを表すクラス.
Definition map_state.h:32
SimulationResult
シミュレーション全体の結果を表す列挙型.
@ kFailureByNodeLimitExceeded
ノード数の上限に達したため,シミュレーションに失敗した.
@ kFailureByLoopMotion
動作がループしてしまったため,シミュレーションに失敗した.
@ kFailureByGraphSearch
グラフ探索に失敗しため,シミュレーションに失敗した.
シミュレーションの結果を格納する構造体.
enums::SimulationResult simulation_result
シミュレーション全体の結果.
std::vector< GraphSearchResultRecord > graph_search_result_recorder
MapState map_state
最新の地面の状態.
std::string ToCsvString() const
このクラスのデータを, csvファイルに出力する用の形式で文字列に変換する.