This class represents action defined in the SimulatedGames module with additional statistics (score, visits).
More...
|
double | Score [get] |
| The average score of performing this action from the perspective of the unit that performed it. More...
|
|
int | Visits [get] |
| The number of times the action has been tested by the MCTS algorithm. The value is an average value computed after taking the number of samples equal to . More...
|
|
ISimulatedGameAction | Action [get] |
| The action. More...
|
|
This class represents action defined in the SimulatedGames module with additional statistics (score, visits).
◆ SimulatedGameActionMetadata()
Grail.SimulatedGames.SimulatedGameActionMetadata.SimulatedGameActionMetadata |
( |
double |
score, |
|
|
int |
visits, |
|
|
in ISimulatedGameAction |
action |
|
) |
| |
|
inline |
Constructs a new SimulatedGameActionMetadata object.
- Parameters
-
score | the average score (quality) |
visits | the number of times the action has been tested |
action | |
◆ Action
◆ Score
double Grail.SimulatedGames.SimulatedGameActionMetadata.Score |
|
get |
The average score of performing this action from the perspective of the unit that performed it.
◆ Visits
int Grail.SimulatedGames.SimulatedGameActionMetadata.Visits |
|
get |
The number of times the action has been tested by the MCTS algorithm. The value is an average value computed after taking the number of samples equal to .
The documentation for this class was generated from the following file:
- GrailSimulatedGames/source/SimulatedGameActionMetadata.cs