grail (C  1.0.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
Grail.Utility.Consideration< ContextType > Class Template Referenceabstract

Representation of subset of game state. More...

Public Member Functions

abstract float Evaluate (ContextType context)
 Reduces consideration to a floating-point number form. More...
 

Protected Member Functions

 Consideration (int rank=0)
 Constructs consideration with provided rank. Default value of 0. More...
 

Properties

int Rank [get]
 Measure of importance of this considertion More...
 

Detailed Description

Representation of subset of game state.

Template Parameters
ContextType

Constructor & Destructor Documentation

◆ Consideration()

Grail.Utility.Consideration< ContextType >.Consideration ( int  rank = 0)
inlineprotected

Constructs consideration with provided rank. Default value of 0.

Parameters
rank

Member Function Documentation

◆ Evaluate()

abstract float Grail.Utility.Consideration< ContextType >.Evaluate ( ContextType  context)
pure virtual

Reduces consideration to a floating-point number form.

Parameters
context
Returns
reduced, evaluated consideration

Property Documentation

◆ Rank

int Grail.Utility.Consideration< ContextType >.Rank
get

Measure of importance of this considertion


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