Grail (C#)  1.3.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
Grail.Data.DebugInfo.EvaluationDebugData Class Reference

Debug data describing singular evaluator More...

Public Member Functions

 EvaluationDebugData (EvaluatorType evaluatorType, float score, int nodeIndex)
 Constructor used when dumping debug data More...
 
void AddChildNode (int childNodeIndex)
 Add node as leaf/child to this data node More...
 

Properties

EvaluatorType EvaluatorType [get, set]
 Provides the type of the evalutor described by this debug data More...
 
float Score [get, set]
 Provides output of the evaluator descibed by this debug data More...
 
int NodeIndex [get, set]
 Provides this nodes position in debug tree More...
 
List< int > ChildNodes [get, set]
 Provides indexes of all nodes attached to this node as children More...
 
string Metadata = new() [get, set]
 

Detailed Description

Debug data describing singular evaluator

Constructor & Destructor Documentation

◆ EvaluationDebugData()

Grail.Data.DebugInfo.EvaluationDebugData.EvaluationDebugData ( EvaluatorType  evaluatorType,
float  score,
int  nodeIndex 
)
inline

Constructor used when dumping debug data

Parameters
evaluatorTypeType of evaluator which this data describes
scoreEvaluator output
nodeIndexArbitrary node index, identifying data's position in debug tree

Member Function Documentation

◆ AddChildNode()

void Grail.Data.DebugInfo.EvaluationDebugData.AddChildNode ( int  childNodeIndex)
inline

Add node as leaf/child to this data node

Parameters
childNodeIndexNode index of newly attached child

Property Documentation

◆ ChildNodes

List<int> Grail.Data.DebugInfo.EvaluationDebugData.ChildNodes
getset

Provides indexes of all nodes attached to this node as children

◆ EvaluatorType

EvaluatorType Grail.Data.DebugInfo.EvaluationDebugData.EvaluatorType
getset

Provides the type of the evalutor described by this debug data

◆ NodeIndex

int Grail.Data.DebugInfo.EvaluationDebugData.NodeIndex
getset

Provides this nodes position in debug tree

◆ Score

float Grail.Data.DebugInfo.EvaluationDebugData.Score
getset

Provides output of the evaluator descibed by this debug data


The documentation for this class was generated from the following file: