grail (C
1.0.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
|
Interface that encapsulates an algorithm responsible for action-selection inside SimulatedGame (MCTS). This action-selection is performed in certain situations instead of sampling from the whole action space. The goal is to reduce the combinatorial complexity or just provide scripted behavior in certain moments of the game. More...
Public Member Functions | |
ISimulatedGameAction | GetAction () |
If @IsHeuristicSituation() function returns true, then this method returns action to be executed. More... | |
bool | IsHeuristicSituation (in ISimulatedGameUnit unit) |
This function tests whether the heuristic should apply in the current moment in the game. More... | |
Interface that encapsulates an algorithm responsible for action-selection inside SimulatedGame (MCTS). This action-selection is performed in certain situations instead of sampling from the whole action space. The goal is to reduce the combinatorial complexity or just provide scripted behavior in certain moments of the game.
ISimulatedGameAction Grail.Simulation.ISimulatedGameHeuristic.GetAction | ( | ) |
If @IsHeuristicSituation() function returns true, then this method returns action to be executed.
Implemented in Grail.Simulation.DecisionTree.
bool Grail.Simulation.ISimulatedGameHeuristic.IsHeuristicSituation | ( | in ISimulatedGameUnit | unit | ) |
This function tests whether the heuristic should apply in the current moment in the game.
unit |
Implemented in Grail.Simulation.DecisionTree.