Package com.embabel.plan.goap
Interface GoapAction
-
- All Implemented Interfaces:
-
com.embabel.common.core.types.HasInfoString,com.embabel.common.core.types.Named,com.embabel.plan.Action,com.embabel.plan.Step,com.embabel.plan.goap.GoapStep
public interface GoapAction implements GoapStep, Action
Action in a GOAP system.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classGoapAction.Companion
-
Method Summary
Modifier and Type Method Description StringinfoString(Boolean verbose, Integer indent)abstract Map<String, ConditionDetermination>getEffects()Expected effects of this action. Set<String>getKnownConditions()The names of all conditions that are referenced by this step -
Methods inherited from class com.embabel.plan.goap.GoapStep
getPreconditions, isAchievable -
Methods inherited from class com.embabel.plan.Step
getName, getValue -
Methods inherited from class com.embabel.plan.Action
getCost -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
infoString
String infoString(Boolean verbose, Integer indent)
-
getEffects
abstract Map<String, ConditionDetermination> getEffects()
Expected effects of this action. World state should be checked afterward as these effects may not have been achieved
-
getKnownConditions
Set<String> getKnownConditions()
The names of all conditions that are referenced by this step
-
-
-
-