Plan

open class Plan(val actions: List<Action>, val goal: Goal)

Plan to achieve a goal. A plan is a chain of actions. The plan should be reassessed after each action each perform.

Parameters

actions

The actions to perform, in order

goal

The goal to achieve

Inheritors

Constructors

Link copied to clipboard
constructor(actions: List<Action>, goal: Goal)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The cost of a plan may be greater than 1.0, even though action costs and all values are 0-1

Link copied to clipboard
val goal: Goal
Link copied to clipboard

Functions

Link copied to clipboard
open fun infoString(verbose: Boolean?, indent: Int): String
Link copied to clipboard