Grail (C++)  1.4.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
BlueprintOption.hh
1 // Copyright QED Software 2023.
2 
3 #ifndef GRAIL_BLUEPRINT_OPTION_H
4 #define GRAIL_BLUEPRINT_OPTION_H
5 
6 #include "../../GrailEvaluators/Evaluator.hh"
7 #include "../Blueprint.hh"
8 
9 namespace grail
10 {
11 namespace utility
12 {
13  template <typename InstanceType, typename ContextType, typename DataType>
15  {
19  std::shared_ptr<evaluator::Evaluator<ContextType>> evaluator;
20 
25 
29  int rank;
30 
39  int rank)
41  {
42  }
43 
52  int rank)
54  {
55  }
56  };
57 }
58 }
59 
60 #endif //GRAIL_BLUEPRINT_OPTION_H
grail::utility::BlueprintOption::rank
int rank
Rank - measure of importance of evaluated object. Only objects with highest available rank may be sel...
Definition: BlueprintOption.hh:29
grail::utility::BlueprintOption
Definition: BlueprintOption.hh:14
grail::utility::BlueprintOption::evaluator
std::shared_ptr< evaluator::Evaluator< ContextType > > evaluator
Evaluator for this option.
Definition: BlueprintOption.hh:19
grail::evaluator::Evaluator
The Evaluator class - base class being able to evaluate given context and output the result.
Definition: Evaluator.hh:25
grail::utility::BlueprintOption::BlueprintOption
BlueprintOption(const std::shared_ptr< evaluator::Evaluator< ContextType >> &evaluator, const utility::Blueprint< InstanceType, ContextType, DataType > &behaviorBlueprint, int rank)
BlueprintOption - Constructor.
Definition: BlueprintOption.hh:50
grail::utility::BlueprintOption::behaviorBlueprint
utility::Blueprint< InstanceType, ContextType, DataType > behaviorBlueprint
Blueprint for this option.
Definition: BlueprintOption.hh:24
grail::utility::BlueprintOption::BlueprintOption
BlueprintOption(const std::shared_ptr< evaluator::Evaluator< ContextType >> &evaluator, utility::Blueprint< InstanceType, ContextType, DataType > &&behaviorBlueprint, int rank)
BlueprintOption - Constructor.
Definition: BlueprintOption.hh:37
grail::utility::Blueprint< InstanceType, ContextType, DataType >