grail (C
1.0.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
|
Classes implementing this interface provide training data in the offline learning process. More...
Public Member Functions | |
bool | IsLearnableSituation (in ISimulatedGameUnit unit) |
Look at the state of your units and decide whether the current unit should learn in this situation. In such a case, the state will be sampled by offline learner. More... | |
IEnumerable< float > | Vectorize () |
Returns the current values for all consideration (conditions) that will be used in a decision tree later. More... | |
Classes implementing this interface provide training data in the offline learning process.
bool Grail.Simulation.IVectorizer.IsLearnableSituation | ( | in ISimulatedGameUnit | unit | ) |
Look at the state of your units and decide whether the current unit should learn in this situation. In such a case, the state will be sampled by offline learner.
unit | The current unit to take an action. |
IEnumerable<float> Grail.Simulation.IVectorizer.Vectorize | ( | ) |
Returns the current values for all consideration (conditions) that will be used in a decision tree later.