|
Grail (C++)
1.4.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
|
3 #ifndef GRAIL_SIMULATED_GAME_HEURISTIC
4 #define GRAIL_SIMULATED_GAME_HEURISTIC
12 class ISimulatedGameUnit;
13 class ISimulatedGameAction;
26 virtual std::unique_ptr<ISimulatedGameAction>
GetAction()
const = 0;
36 #endif //GRAIL_SIMULATED_GAME_HEURISTIC
virtual std::unique_ptr< ISimulatedGameAction > GetAction() const =0
If IsHeuristicSituation() function returns true, then this method returns action to be executed.
virtual bool IsHeuristicSituation(const ISimulatedGameUnit &unit) const =0
This function tests whether the heuristic should apply in the current moment in the game.
Base class of a unit in the SimulatedGame framework. A unit represents part of the game-state and pef...
Definition: ISimulatedGameUnit.hh:28
Interface that encapsulates an algorithm responsible for action-selection inside SimulatedGame (MCTS)...
Definition: ISimulatedGameHeuristic.hh:20