Intelligence · interface
PolicyOption
Explained in Agents and behaviour.
interface PolicyOptionimport type { PolicyOption } from '@driftengine/ai';Properties
| Name | Type | Description |
|---|---|---|
intentreadonly | Intent | Pre-built and reused, never constructed per tick.MoreThe floor claims it allocates nothing per tick, and selecting among N existing objects makes that true by construction rather than by care. |
Methods
score
score(context: PolicyContext): number| Parameter | Type | Description |
|---|---|---|
context | PolicyContext |