1 #ifndef GRAIL_EVALUATION_DEBUG_DATA_H
2 #define GRAIL_EVALUATION_DEBUG_DATA_H
4 #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{};
The EvaluationDebugData class - debug data describing singular evaluator.
Definition: EvaluationDebugData.h:20
float GetScore() const
GetScore - provides output of the evaluator descibed by this debug data.
Definition: EvaluationDebugData.cpp:17
EvaluatorType GetEvaluatorType() const
GetEvaluatorType - provides type of the evalutor described by this debug data.
Definition: EvaluationDebugData.cpp:16
const std::vector< std::size_t > & GetChildNodes() const
GetChildNodes - provides indexes of all nodes attached to this node as children.
Definition: EvaluationDebugData.cpp:19
void AddChildNode(std::size_t childNodeIndex)
AddChildNode - add node as leaf/child to this data node.
Definition: EvaluationDebugData.cpp:11
std::size_t GetNodeIndex() const
GetNodeIndex - provides this nodes position in debug tree.
Definition: EvaluationDebugData.cpp:18
const std::string & GetMetadata() const
GetMetadata - provides a metadata string.
Definition: EvaluationDebugData.cpp:20
Definition: EvaluationDebugData.h:11