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.

Constructors

Link copied to clipboard
constructor(name: String, description: String?, value: (Double) -> Double, cost: (State) -> Double, condition: (State) -> Boolean)

Properties

Link copied to clipboard
Link copied to clipboard
val cost: (State) -> Double
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val value: (Double) -> Double