toggle menu
Embabel Agent Documentation
JVM
switch theme
search in API
Embabel Agent Documentation
/
com.embabel.plan.goap
/
GoapPlan
Goap
Plan
class
GoapPlan
(
val
actions
:
List
<
Action
>
,
val
goal
:
Goal
,
val
worldState
:
GoapWorldState
)
:
Plan
Members
Constructors
Goap
Plan
Link copied to clipboard
constructor
(
actions
:
List
<
Action
>
,
goal
:
Goal
,
worldState
:
GoapWorldState
)
Properties
actions
Link copied to clipboard
val
actions
:
List
<
Action
>
actions
Value
Link copied to clipboard
val
actionsValue
:
Double
cost
Link copied to clipboard
val
cost
:
Double
The cost of a plan may be greater than 1.0, even though action costs and all values are 0-1
goal
Link copied to clipboard
val
goal
:
Goal
net
Value
Link copied to clipboard
val
netValue
:
Double
world
State
Link copied to clipboard
val
worldState
:
GoapWorldState
Functions
info
String
Link copied to clipboard
open
fun
infoString
(
verbose
:
Boolean
?
,
indent
:
Int
)
:
String
is
Complete
Link copied to clipboard
fun
isComplete
(
)
:
Boolean
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String