AgentSystemStep

Properties

Link copied to clipboard
abstract val inputs: Set<IoBinding>

Data inputs to this step. Will be used to build preconditions, in addition to explicit preconditions.

Link copied to clipboard
abstract val knownConditions: Set<String>

The names of all conditions that are referenced by this step

Link copied to clipboard
abstract val name: String

Unique name of the step

Link copied to clipboard

Conditions that must be true for this step to execute

Link copied to clipboard
abstract val value: <Error class: unknown class>

Value of completing this step. From 0 (least valuable) to 1 (most valuable) Steps with 0 value will still be planned if necessary to achieve a result

Functions

Link copied to clipboard
open fun isAchievable(currentState: GoapWorldState): Boolean

Whether the step is available in the current world state