61 std::function<
bool(
Unit*,
Unit*)>
const& compatible);
79 bool allowSameTypeAir =
true,
80 bool allowSameTypeGround =
false);
Game state.
Definition: state.h:42
This jitter class treats all units depending on their height: flying, on the ground or under ground (...
Definition: jitter.h:74
When featurizing units, we represent each 2D cell as having one unit.
Definition: jitter.h:50
Jitter()
Definition: jitter.h:56
replayer::Unit Unit
Definition: state.h:36
virtual ~BaseJitter()=default
Represents a unit in the game.
Definition: unitsinfo.h:35
std::unordered_map< Unit *, Position > jitteredPos_
Definition: jitter.h:63
NoJitter()
Definition: jitter.h:27
BaseJitter()
Definition: jitter.h:19
Main namespace for bot-related code.
Definition: areainfo.cpp:17
virtual Position operator()(Unit *u) const =0