(C++)  1.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
grail::simulation::IVectorizer Struct Referenceabstract

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

#include <IVectorizer.hh>

Public Member Functions

virtual bool IsLearnableSituation (const ISimulatedGameUnit &unit) const =0
 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...
 
virtual std::vector< float > Vectorize () const =0
 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

virtual bool grail::simulation::IVectorizer::IsLearnableSituation ( const ISimulatedGameUnit unit) const
pure virtual

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.
virtual std::vector<float> grail::simulation::IVectorizer::Vectorize ( ) const
pure virtual

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


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