Skip to main content

Module utility

Module utility 

Source
Expand description

Utility AI — scoring-based decision making.

Each action has a set of considerations (response curves) that evaluate world state and produce a [0, 1] score. The action with the highest combined score is selected each tick.

Structs§

Consideration
A single input consideration for an action.
UtilityAction
An action with a set of considerations.
UtilitySelector
Selects the highest-scoring action each tick.

Enums§

ResponseCurve
Maps a raw input [0, 1] to a utility score [0, 1].