baba-is-auto
C++17 Baba Is You simulator
Loading...
Searching...
No Matches
Preprocess.hpp
Go to the documentation of this file.
1// Copyright (c) 2020-2026 Chris Ohk
2
3// I am making my contributions/submissions to this project solely in our
4// personal capacity and am not conveying any rights to any intellectual
5// property of any third parties.
6
7#ifndef BABA_IS_AUTO_PREPROCESS_HPP
8#define BABA_IS_AUTO_PREPROCESS_HPP
9
11
12#include <vector>
13
14namespace baba_is_auto
15{
22{
23 public:
25 constexpr static int TENSOR_DIM = 16;
26
30 static std::vector<float> StateToTensor(const Game& game);
31};
32} // namespace baba_is_auto
33
34#endif
Game class.
Definition Game.hpp:25
Preprocess class.
Definition Preprocess.hpp:22
static constexpr int TENSOR_DIM
The dimension of the tensor. (14 + 2)
Definition Preprocess.hpp:25
static std::vector< float > StateToTensor(const Game &game)
Definition IAgent.hpp:14