(C++)  1.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
grail::utility::IEvaluator< ContextType > Class Template Referenceabstract

The Evaluator class - Evaluates object in terms of provided Context. More...

#include <IEvaluator.hh>

Inheritance diagram for grail::utility::IEvaluator< ContextType >:

Public Member Functions

virtual int EvaluateRank () const =0
 EvaluateRank. More...
 
virtual float EvaluateWeight (const ContextType &context) const =0
 EvaluateWeight. More...
 
virtual WeightEvaluationMethod GetEvaluationMethod () const =0
 

Detailed Description

template<typename ContextType>
class grail::utility::IEvaluator< ContextType >

The Evaluator class - Evaluates object in terms of provided Context.

Member Function Documentation

template<typename ContextType >
virtual int grail::utility::IEvaluator< ContextType >::EvaluateRank ( ) const
pure virtual

EvaluateRank.

Returns
rank - measure of importance of evaluated object

Implemented in grail::utility::Evaluator< ContextType >.

template<typename ContextType >
virtual float grail::utility::IEvaluator< ContextType >::EvaluateWeight ( const ContextType &  context) const
pure virtual

EvaluateWeight.

Parameters
context
Returns
weight - measure of suitability of evaluated object in given Context

Implemented in grail::utility::Evaluator< ContextType >.


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