A class representing an action that can be simulated by a planner.
More...
|
PreconditionFunction | Preconditions [get, set] |
|
EffectFunction | Effects [get, set] |
|
CostFunction | Cost [get, set] |
|
int | TypeID [get, set] |
|
string | Name [get] |
|
A class representing an action that can be simulated by a planner.
◆ Cost
CostFunction Grail.Planning.ActionTemplate.Cost |
|
getset |
A function returning execution cost of the action, given a world state Represented as a function returing a number representing the action's cost, accepting a vector of action arguments (WorldObjects) and the current WorldState reference
◆ Effects
EffectFunction Grail.Planning.ActionTemplate.Effects |
|
getset |
A function applied to a world state each time this action is performed in a planner iteration Represented as a function returning void and accepting a vector of action arguments (WorldObjects) and the current WorldState reference
◆ Preconditions
PreconditionFunction Grail.Planning.ActionTemplate.Preconditions |
|
getset |
A precondition function that will be checked to verify legality of the action. Represented as a boolean function accepting a vector of action arguments (WorldObjects) and the current WorldState reference
The documentation for this class was generated from the following file:
- GrailPlanners/source/Planning/Planner/Action/ActionTemplate.cs