Structure for storing results in UniqueTreeDataset.
More...
Structure for storing results in UniqueTreeDataset.
◆ TreeDataSample() [1/2]
Grail.Simulation.TreeDataSample.TreeDataSample |
( |
IEnumerable< float > |
data | ) |
|
|
inline |
Constructs a new TreeDataSample object
- Parameters
-
data | Values of considerations (conditions) that have been sampled. |
◆ TreeDataSample() [2/2]
Grail.Simulation.TreeDataSample.TreeDataSample |
( |
params float[] |
data | ) |
|
|
inline |
Constructs a new TreeDataSample object
- Parameters
-
data | Values of considerations (conditions) that have been sampled. |
◆ AddDecision()
Adds occurence of a decision to the sample.
- Parameters
-
◆ Reduce()
This method chooses the best decision for the sampled data and returns it with data as DatasetSample. In the returned sample, statistics about decisions are discarded.
- Returns
- Sample converted to DatasetSample (without full statistics of actions).
The documentation for this class was generated from the following file:
- GrailSimulatedGames/source/SimulatedGames/OfflineLearning/TreeDataSample.cs