1 #ifndef GRAIL_CONSIDERATION_H
2 #define GRAIL_CONSIDERATION_H
4 #include "../GrailSystem/AIEntity.hh"
5 #include "../GrailSystem/Blackboard.hh"
53 const int GetRank()
const {
return rank; }
55 virtual std::string GetDisplayName()
const {
return "unnamed_consideration"; }
61 using DefaultConsideration = Consideration<const AIEntity*>;
62 using EntityBlackboardPair = std::pair<const AIEntity*, Blackboard>;
63 using UtilityConsideration = Consideration<EntityBlackboardPair>;
The Consideration class - Representation of subset of game state.
Definition: Consideration.hh:17
Consideration()
Consideration - Constructs consideration with default rank of 0.
Definition: Consideration.hh:31
Consideration(int initRank)
Consideration - Constructs consideration with provided rank.
Definition: Consideration.hh:23
const int GetRank() const
GetRank.
Definition: Consideration.hh:53
virtual float Evaluate(const T &) const =0
Evaluate - Reduces consideration to a floating-point number form.