(C++)  1.0.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
IEvaluator.hh
1 #ifndef GRAIL_IEVALUATOR_H
2 #define GRAIL_IEVALUATOR_H
3 
4 #include "../GrailData/UtilityModel/UtilityEvaluatorModel.h"
5 
6 namespace grail
7 {
8  namespace utility
9  {
10  template <typename ContextType>
14  class IEvaluator
15  {
16  public:
21  virtual int EvaluateRank() const = 0;
22 
28  virtual float EvaluateWeight(const ContextType& context) const = 0;
29 
30  virtual WeightEvaluationMethod GetEvaluationMethod() const = 0;
31  };
32  }
33 }
34 #endif //GRAIL_IEVALUATOR_H
The Evaluator class - Evaluates object in terms of provided Context.
Definition: IEvaluator.hh:15
virtual int EvaluateRank() const =0
EvaluateRank.
virtual float EvaluateWeight(const ContextType &context) const =0
EvaluateWeight.