 |
Grail (C++)
1.1.1
A multi-platform, modular, universal engine for embedding advanced AI in games.
|
1 #ifndef GRAIL_EVALUATION_DEBUG_DATA_H
2 #define GRAIL_EVALUATION_DEBUG_DATA_H
6 #include "../UtilityModel/EvaluatorType.h"
10 template <
typename DataType>
68 void SetMetadata(
const std::string& newMetadata);
71 EvaluatorType evaluatorType{};
73 std::size_t nodeIndex{};
74 std::vector<std::size_t> childNodes{};
75 std::string metadata{};
float GetScore() const
GetScore - provides output of the evaluator descibed by this debug data.
Definition: EvaluationDebugData.cpp:16
std::size_t GetNodeIndex() const
GetNodeIndex - provides this nodes position in debug tree.
Definition: EvaluationDebugData.cpp:17
const std::string & GetMetadata() const
GetMetadata - provides a metadata string.
Definition: EvaluationDebugData.cpp:19
The EvaluationDebugData class - debug data describing singular evaluator.
Definition: EvaluationDebugData.h:19
void AddChildNode(std::size_t childNodeIndex)
AddChildNode - add node as leaf/child to this data node.
Definition: EvaluationDebugData.cpp:10
EvaluatorType GetEvaluatorType() const
GetEvaluatorType - provides type of the evalutor described by this debug data.
Definition: EvaluationDebugData.cpp:15
const std::vector< std::size_t > & GetChildNodes() const
GetChildNodes - provides indexes of all nodes attached to this node as children.
Definition: EvaluationDebugData.cpp:18