TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
Public Member Functions | List of all members
cherrypi::RewardProtectCivilians Struct Reference

Inherits cherrypi::Reward.

Public Member Functions

void stepReward (State *state) override
 
bool terminateOnPeace () override
 
- Public Member Functions inherited from cherrypi::Reward
virtual ~Reward ()=default
 
virtual void begin (cherrypi::State *state)
 
virtual bool terminate (cherrypi::State *state)
 

Additional Inherited Members

- Public Attributes inherited from cherrypi::Reward
double reward = -1e10
 

Member Function Documentation

void cherrypi::RewardProtectCivilians::stepReward ( State state)
overridevirtual

Implements cherrypi::Reward.

bool cherrypi::RewardProtectCivilians::terminateOnPeace ( )
inlineoverridevirtual

Reimplemented from cherrypi::Reward.


The documentation for this struct was generated from the following file: