(C++)  1.1.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
grail::Reasoner Class Referenceabstract

The Reasoner class - Entity's "brain", assigns them behaviors chosen by user-defined algorithms. More...

#include <Reasoner.hh>

Inheritance diagram for grail::Reasoner:

Public Member Functions

 Reasoner (const Reasoner &)=default
 
 Reasoner (Reasoner &&)=default
 
Reasoneroperator= (const Reasoner &)=default
 
Reasoneroperator= (Reasoner &&)=default
 
virtual void SelectBehavior (AIEntity &entity)=0
 selectBehavior - Runs reasoner's selection algorithm and assigns chosen behavior to provided entity. More...
 
virtual std::unique_ptr< ISnapshotGeneratorCreateSnapshotGenerator (size_t)
 

Detailed Description

The Reasoner class - Entity's "brain", assigns them behaviors chosen by user-defined algorithms.

Member Function Documentation

◆ SelectBehavior()

virtual void grail::Reasoner::SelectBehavior ( AIEntity entity)
pure virtual

selectBehavior - Runs reasoner's selection algorithm and assigns chosen behavior to provided entity.

Parameters
entity

Implemented in grail::UtilityReasoner, grail::SimulatedGameReasoner, and grail::PlannerReasoner.


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