Grail (C#)  1.4.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
Grail.Planners.Reasoners.PlannerReasoner.Config Class Reference

The PlannerReasoner run-time configuration parameters. More...

Collaboration diagram for Grail.Planners.Reasoners.PlannerReasoner.Config:

Public Attributes

int MaxIterations = 1000
 The maximum number of iterations to find the best plan in a given state. More...
 
int MaxPlanLength = -1
 The maximum number of actions (steps) a plan can take. Set -1 for unlimited plans. More...
 
int IterationPerUpdate = 10
 The number of iterations to perform per one update of the reasoner. The total number of iterations will accumulate limited by MaxIterations. More...
 
float MaxPlanCost = -1
 An upper bound on the plan cost measured as the sum of costs of actions it consists of. Set -1 for no limit. More...
 
bool UsePartialPlans = true
 A flag telling whether partial plans should also be considered if a regular plan cannot be found.
A regular plan might not be found if the planning space is too complex or the imposed limits (MaxIterations, MaxPlanCost, MaxPlanLength) are too strict. More...
 
Behavior FallbackBehavior = null
 The behavior that should be performed during plan computation or if no valid plan is found. More...
 

Detailed Description

The PlannerReasoner run-time configuration parameters.

Member Data Documentation

◆ FallbackBehavior

Behavior Grail.Planners.Reasoners.PlannerReasoner.Config.FallbackBehavior = null

The behavior that should be performed during plan computation or if no valid plan is found.

◆ IterationPerUpdate

int Grail.Planners.Reasoners.PlannerReasoner.Config.IterationPerUpdate = 10

The number of iterations to perform per one update of the reasoner. The total number of iterations will accumulate limited by MaxIterations.

◆ MaxIterations

int Grail.Planners.Reasoners.PlannerReasoner.Config.MaxIterations = 1000

The maximum number of iterations to find the best plan in a given state.

◆ MaxPlanCost

float Grail.Planners.Reasoners.PlannerReasoner.Config.MaxPlanCost = -1

An upper bound on the plan cost measured as the sum of costs of actions it consists of. Set -1 for no limit.

◆ MaxPlanLength

int Grail.Planners.Reasoners.PlannerReasoner.Config.MaxPlanLength = -1

The maximum number of actions (steps) a plan can take. Set -1 for unlimited plans.

◆ UsePartialPlans

bool Grail.Planners.Reasoners.PlannerReasoner.Config.UsePartialPlans = true

A flag telling whether partial plans should also be considered if a regular plan cannot be found.
A regular plan might not be found if the planning space is too complex or the imposed limits (MaxIterations, MaxPlanCost, MaxPlanLength) are too strict.


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