 |
Grail (C++)
1.2.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
|
3 #ifndef GRAIL_PLANNER_SNAPSHOT_H
4 #define GRAIL_PLANNER_SNAPSHOT_H
18 class ParametrizedObject;
28 unsigned int objectId = 0;
39 std::vector<std::string> parametrization{};
40 std::vector<PlannerWorldObjectSnapshot> resultingWorldState{};
47 unsigned int objectId,
48 const std::string& objectName);
61 bool goalReached =
false;
65 double totalCost = std::numeric_limits<double>::max();
75 std::vector<PlannerIterationSnapshot> iterations = {};
77 float absoluteTime = 0;
78 float relativeTime = 0;
Definition: PlannerSnapshots.h:25
A class representing planner world state.
Definition: WorldState.hh:16
Definition: PlannerSnapshots.h:53
std::size_t iterationNumber
The object contains info about iteration with number = IterationNumber.
Definition: PlannerSnapshots.h:56
Definition: PlannerSnapshots.h:73
double score
Heuristic score of the plan.
Definition: PlannerSnapshots.h:64
std::map< std::string, std::string > objectData
Internal state of the WorldObject.
Definition: PlannerSnapshots.h:31
Definition: ParametrizedObject.hh:22
std::vector< PlannerActionSnapshot > planActions
In the serialized iteration, the plan consists of planActions.
Definition: PlannerSnapshots.h:59
Definition: PlannerSnapshots.h:36