![]() |
(C++)
1.0.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
|
Public Member Functions | |
void | Add (std::unique_ptr< TreeDataSample > sample) |
Adds a new sample. | |
void | Add (std::vector< float > &data, const ISimulatedGameAction *action) |
Adds a new sample. | |
std::unique_ptr< Dataset > | ConvertToDataset (const std::initializer_list< DTConsiderationType > &considerationTypes) |
Converts to a flat dataset - with the chosen decision - that is suitable for constructing the DecisionTree. | |
std::unique_ptr< Dataset > | ConvertToDataset (const std::vector< DTConsiderationType > &considerationTypes) |
Converts to a flat dataset - with the chosen decision - that is suitable for constructing the DecisionTree. | |
std::unique_ptr< Dataset > | ConvertToDataset (DTConsiderationType considerationType, int count) |
std::unique_ptr< Dataset > grail::simulation::UniqueTreeDataset::ConvertToDataset | ( | DTConsiderationType | considerationType, |
int | count | ||
) |
Converts to a flat dataset - with the chosen decision - that is suitable for constructing the DecisionTree. Use this variant of the method if all considerations have the same type.