(C++)
1.1.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
|
The Reasoner class - Entity's "brain", assigns them behaviors chosen by user-defined algorithms. More...
#include <Reasoner.hh>
Public Member Functions | |
Reasoner (const Reasoner &)=default | |
Reasoner (Reasoner &&)=default | |
Reasoner & | operator= (const Reasoner &)=default |
Reasoner & | operator= (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< ISnapshotGenerator > | CreateSnapshotGenerator (size_t) |
The Reasoner class - Entity's "brain", assigns them behaviors chosen by user-defined algorithms.
|
pure virtual |
selectBehavior - Runs reasoner's selection algorithm and assigns chosen behavior to provided entity.
entity |
Implemented in grail::UtilityReasoner, grail::SimulatedGameReasoner, and grail::PlannerReasoner.