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

Classes

struct  AbstractPlan
 
class  Config
 

Public Member Functions

 Planner (WorldState initialState)
 
 Planner (WorldState initialState, Config config)
 
void PushCondition (ConditionFunction condition)
 
void IterateWithSnapshot (int iterations, PlannerReasonerSnapshot snapshot, long minDebugSnapshotIteration=0, long maxDebugSnapshotIteration=long.MaxValue)
 
void Iterate (int iterations)
 
void Reset (WorldState initialState)
 
AbstractPlan GetPartialPlan ()
 

Public Attributes

bool IsComputing => !isPlanningFinished
 

Properties

int IterationLimit [get, set]
 
int MaxPlanLength [get, set]
 
float MaxPlanCost [get, set]
 
PlannerHeuristic Heuristic [set]
 
PlanFoundDelegate OnPlanFound [set]
 
System.Action OnPlanningFailed [set]
 

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