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
10
#include <
baba-is-auto/Games/Game.hpp
>
11
12
#include <vector>
13
14
namespace
baba_is_auto
15
{
21
class
Preprocess
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.hpp
baba_is_auto::Game
Game class.
Definition
Game.hpp:25
baba_is_auto::Preprocess
Preprocess class.
Definition
Preprocess.hpp:22
baba_is_auto::Preprocess::TENSOR_DIM
static constexpr int TENSOR_DIM
The dimension of the tensor. (14 + 2)
Definition
Preprocess.hpp:25
baba_is_auto::Preprocess::StateToTensor
static std::vector< float > StateToTensor(const Game &game)
baba_is_auto
Definition
IAgent.hpp:14
Includes
baba-is-auto
Agents
Preprocess.hpp
Generated by
1.9.8