Grail (C++)
1.3.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
|
Public Member Functions | |
data::SimulatedGameReasonerSnapshot & | GetSnapshot () |
Returns serialized snapshot of SimulatedGameReasoner. | |
bool | IsInitialized () const |
Returns true if the observer is initialized and ready to gather data. More... | |
void | OnGameStart (const std::vector< std::shared_ptr< SimulatedGameThinkingUnit >> &thinkingUnits, const std::vector< std::shared_ptr< SimulatedGameStochasticUnit >> &stochasticUnits) |
void | OnIterationStart (size_t iterationNumber) |
void | OnUCTAction (const ISimulatedGameAction &chosenAction, const SimulatedGameNode &node) |
void | OnMonteCarloAction (const ISimulatedGameAction &chosenAction, const ISimulatedGameUnit &activeUnit) |
void | OnIterationEnd (const std::vector< float > &scores) |
void | SetMinIteration (size_t iteration) |
Sets the minimum number of iteration that will be gathered during the debugging. | |
size_t | GetMinIteration () const |
Gets the minimum number of iteration that will be gathered during the debugging. | |
void | SetMaxIteration (size_t iteration) |
Sets the maximum number of iteration that will be gathered during the debugging. | |
size_t | GetMaxIteration () const |
Gets the maximum number of iteration that will be gathered during the debugging. | |
bool grail::simgames::SimulatedGameSnapshotObserver::IsInitialized | ( | ) | const |
Returns true if the observer is initialized and ready to gather data.