Grail (C++)  1.3.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
grail::data::PlannerIterationSnapshot Struct Reference

#include <PlannerSnapshots.h>

Public Member Functions

 PlannerIterationSnapshot (std::size_t keyIterationIndex)
 

Public Attributes

std::size_t iterationNumber = 0
 The object contains info about iteration with number = IterationNumber.
 
std::vector< PlannerActionSnapshotplanActions = {}
 In the serialized iteration, the plan consists of planActions.
 
bool goalReached = false
 
double score = 0
 Heuristic score of the plan.
 
double totalCost = std::numeric_limits<double>::max()
 

Detailed Description

DTO - data transfer object / plain data object. Container for debug data that describes a single iteration performed by Planner.


The documentation for this struct was generated from the following files: