GaitGeneration by Graph Search
読み取り中…
検索中…
一致する文字列を見つけられません
map_creator_by_csv.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_MAP_CREATOR_BY_CSV_H_
9#define DESIGNLAB_MAP_CREATOR_BY_CSV_H_
10
11#include <string>
12
14
15namespace designlab {
16
19class MapCreatorByCsv final : public IMapCreator {
20 public:
23 explicit MapCreatorByCsv(const std::string& map_file_path);
24
25 MapState InitMap() const override;
26
27 void UpdateMap(MapState* current_map) const override;
28
29 private:
30 std::string map_file_path_;
31};
32
33} // namespace designlab
34
35#endif // DESIGNLAB_MAP_CREATOR_BY_CSV_H_
マップ生成クラスのインターフェース.
CSV ファイルからマップを生成するクラス.
void UpdateMap(MapState *current_map) const override
マップの更新を行う.
MapState InitMap() const override
マップの初期化を行う.
マップを表すクラス.
Definition map_state.h:29