(C++)  1.0.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
grail::simulation::SimulatedGameHelper Struct Reference
Collaboration diagram for grail::simulation::SimulatedGameHelper:

Public Member Functions

void SetTeamCount (int teamCount)
 
void SetExplorationRatio (double exploratioRatio)
 
void SetFreezeVisitsTreshold (size_t treshold)
 
void Reset ()
 Resets to a state adequate to the start of a new simulation.
 
void ApplyActions () const
 Applies deferred actions (to be called when the process falls out of the tree and Monte Carlo phase is started).
 
void ApplyActionsWithDebug (SimulatedGameObserverForGUI &observer) const
 
void Backpropagation ()
 
void BackpropagationWithTerminal (std::vector< float > &scores)
 This is backpropagation that checks whether a state is terminal.
 

Public Attributes

double explorationConstant
 
size_t freezeVisitsTreshold
 
std::vector< SimulatedGameNode * > visitedNodes
 
std::vector< size_t > actionIndicesHistory
 
std::unique_ptr< SimulatedGameRuntimeruntimeControl
 

Friends

class SimulatedGameObserverForGUI
 

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