(C++)  1.1.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
grail::utility::Option< ContextType > Struct Template Reference

The Option struct - Helper structure describing one of the options being selected by Selector. More...

#include <Selector.hh>

Collaboration diagram for grail::utility::Option< ContextType >:

Public Attributes

ContextType context {}
 context - Context to be evaluated.
 
std::shared_ptr< Evaluator< ContextType > > evaluator {}
 evaluator - Object responsible for evaluation of provided context.
 
std::string evaluatedObjectName {}
 evaluatedObjectName - Name of the evaluated object.
 
std::string evaluatedObjectMetadata {}
 evaluatedObjectMetadata - additional data describing the evaluated object
 
int rank {}
 rank - Measure of importance of evaluated object. Only objects with highest available rank may be selected.
 

Detailed Description

template<typename ContextType>
struct grail::utility::Option< ContextType >

The Option struct - Helper structure describing one of the options being selected by Selector.

Template Parameters
ContextType- Type of evaluated object. By default - ValueTuple(AIEntity, Blackboard).

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