![]() |
Grail (C#)
1.2.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
|
Represents elements stored in DataSet. They consist of a vector of consideration values and decision made under those considerations. More...
Public Member Functions | |
DatasetSample (ValueTuple< string, string > serializedStringList, IDecisionStringSerializer< TDecisionType > decisionSerializer) | |
Constructs sample from a serialized form. More... | |
DatasetSample (IEnumerable< float > data) | |
Constructs sample with provided consideration values. You need to assign decision later. More... | |
DatasetSample (params float[] data) | |
Constructs sample with provided consideration values. You need to assign decision later. More... | |
DatasetSample (TDecisionType decision, params float[] data) | |
Constructs sample with provided consideration values and decision. More... | |
override string | ToString () |
bool | Equals (TreeDataSample other) |
override int | GetHashCode () |
Public Attributes | |
string | |
Properties | |
float [] | Data [get, set] |
Values measured for considerations. More... | |
TDecisionType | Decision [get, set] |
The decision made under valued measured for considerations and stored in Data. More... | |
Represents elements stored in DataSet. They consist of a vector of consideration values and decision made under those considerations.
|
inline |
Constructs sample from a serialized form.
serializedStringList | |
decisionSerializer |
|
inline |
Constructs sample with provided consideration values. You need to assign decision later.
data |
|
inline |
Constructs sample with provided consideration values. You need to assign decision later.
data |
|
inline |
Constructs sample with provided consideration values and decision.
data |
|
getset |
Values measured for considerations.
|
getset |
The decision made under valued measured for considerations and stored in Data.