TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
|
Inherits cherrypi::Reward.
Public Member Functions | |
void | begin (State *state) override |
void | stepReward (State *state) override |
Public Member Functions inherited from cherrypi::Reward | |
virtual | ~Reward ()=default |
virtual bool | terminate (cherrypi::State *state) |
virtual bool | terminateOnPeace () |
Public Attributes | |
int | initialAllyCount = 0 |
int | initialAllyHp = 0 |
int | initialEnemyCount = 0 |
int | initialEnemyHp = 0 |
Public Attributes inherited from cherrypi::Reward | |
double | reward = -1e10 |
|
overridevirtual |
Reimplemented from cherrypi::Reward.
|
overridevirtual |
Implements cherrypi::Reward.
int cherrypi::RewardCombat::initialAllyCount = 0 |
int cherrypi::RewardCombat::initialAllyHp = 0 |
int cherrypi::RewardCombat::initialEnemyCount = 0 |
int cherrypi::RewardCombat::initialEnemyHp = 0 |