Grail (C#)  1.2.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
Grail.SimulatedGames.OfflineLearning.IVectorizer Interface Reference

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...
 

Detailed Description

Classes implementing this interface provide training data in the offline learning process.

Member Function Documentation

◆ IsLearnableSituation()

bool Grail.SimulatedGames.OfflineLearning.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.

Parameters
unitThe current unit to take an action.
Returns
True - if the current situation should be considered in the learning process. False - otherwise.

◆ Vectorize()

IEnumerable<float> Grail.SimulatedGames.OfflineLearning.IVectorizer.Vectorize ( )

Returns the current values for all consideration (conditions) that will be used in a decision tree later.

Returns

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