koog
Toggle table of contents
0.6.0-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
koog
agents-planner
/
ai.koog.agents.planner.goap
/
Goal
Goal
class
Goal
<
State
>
(
val
name
:
String
,
val
description
:
String
?
,
val
value
:
(
Double
)
->
Double
,
val
cost
:
(
State
)
->
Double
,
val
condition
:
(
State
)
->
Boolean
)
(
source
)
Represents a goal that the agent wants to achieve.
Members
Constructors
Goal
Link copied to clipboard
constructor
(
name
:
String
,
description
:
String
?
,
value
:
(
Double
)
->
Double
,
cost
:
(
State
)
->
Double
,
condition
:
(
State
)
->
Boolean
)
Properties
condition
Link copied to clipboard
val
condition
:
(
State
)
->
Boolean
cost
Link copied to clipboard
val
cost
:
(
State
)
->
Double
description
Link copied to clipboard
val
description
:
String
?
name
Link copied to clipboard
val
name
:
String
value
Link copied to clipboard
val
value
:
(
Double
)
->
Double