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

Public Member Functions

void SetTeamCount (int teamCount)
 
void SetExplorationRatio (double explorationRatio)
 
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 (SimulatedGameSnapshotObserver &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 SimulatedGameSnapshotObserver
 

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