![]() |
Grail (C++)
1.3.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
|
The EvaluationDebugData class - debug data describing singular evaluator. More...
#include <EvaluationDebugData.h>
Public Member Functions | |
| EvaluationDebugData (EvaluatorType evaluatorType, float score, unsigned int nodeIndex) | |
| EvaluationDebugData - constructor used when dumping debug data. More... | |
| void | AddChildNode (unsigned int childNodeIndex) |
| AddChildNode - add node as leaf/child to this data node. More... | |
| EvaluatorType | GetEvaluatorType () const |
| GetEvaluatorType - provides type of the evalutor described by this debug data. More... | |
| float | GetScore () const |
| GetScore - provides output of the evaluator descibed by this debug data. More... | |
| unsigned int | GetNodeIndex () const |
| GetNodeIndex - provides this nodes position in debug tree. More... | |
| const std::vector< unsigned int > & | GetChildNodes () const |
| GetChildNodes - provides indexes of all nodes attached to this node as children. More... | |
| const std::string & | GetMetadata () const |
| GetMetadata - provides a metadata string. More... | |
| void | SetMetadata (const std::string &newMetadata) |
The EvaluationDebugData class - debug data describing singular evaluator.
| grail::data::EvaluationDebugData::EvaluationDebugData | ( | EvaluatorType | evaluatorType, |
| float | score, | ||
| unsigned int | nodeIndex | ||
| ) |
EvaluationDebugData - constructor used when dumping debug data.
| evaluatorType | - type of evaluator which this data describes |
| score | - evaluator output |
| nodeIndex | - arbitrary node index, identifying data's position in debug tree |
| void grail::data::EvaluationDebugData::AddChildNode | ( | unsigned int | childNodeIndex | ) |
AddChildNode - add node as leaf/child to this data node.
| childNodeIndex | - node index of newly attached child |
| const std::vector< unsigned int > & grail::data::EvaluationDebugData::GetChildNodes | ( | ) | const |
GetChildNodes - provides indexes of all nodes attached to this node as children.
| EvaluatorType grail::data::EvaluationDebugData::GetEvaluatorType | ( | ) | const |
GetEvaluatorType - provides type of the evalutor described by this debug data.
| const std::string & grail::data::EvaluationDebugData::GetMetadata | ( | ) | const |
GetMetadata - provides a metadata string.
| unsigned int grail::data::EvaluationDebugData::GetNodeIndex | ( | ) | const |
GetNodeIndex - provides this nodes position in debug tree.
| float grail::data::EvaluationDebugData::GetScore | ( | ) | const |
GetScore - provides output of the evaluator descibed by this debug data.