Grail (C#)  1.3.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
Grail.Utility.Utility.SelectionOption< ContextType > Struct Template Reference

Helper structure describing one of the options being selected by utility reasoner. More...

Public Attributes

ContextType context
 Context to be evaluated. More...
 
Evaluator< ContextType > evaluator
 Object responsible for evaluation of provided context. More...
 
string evaluatedObjectName
 Name of the evaluated object. More...
 
string optionMetadata
 Custom description of evaluated object provided by the developer. More...
 
int rank
 Rank - measure of importance of evaluated object. Only objects with highest available rank may be selected. More...
 

Detailed Description

Helper structure describing one of the options being selected by utility reasoner.

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

Member Data Documentation

◆ context

ContextType Grail.Utility.Utility.SelectionOption< ContextType >.context

Context to be evaluated.

◆ evaluatedObjectName

string Grail.Utility.Utility.SelectionOption< ContextType >.evaluatedObjectName

Name of the evaluated object.

◆ evaluator

Evaluator<ContextType> Grail.Utility.Utility.SelectionOption< ContextType >.evaluator

Object responsible for evaluation of provided context.

◆ optionMetadata

string Grail.Utility.Utility.SelectionOption< ContextType >.optionMetadata

Custom description of evaluated object provided by the developer.

◆ rank

int Grail.Utility.Utility.SelectionOption< ContextType >.rank

Rank - measure of importance of evaluated object. Only objects with highest available rank may be selected.


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