Package-level declarations
Types
A reward source that is a Counter.
The complete description of one element's decision surface — what it may read, what it may write, what it is scored on, and when it decides.
How a decision episode can end, besides the replication ending underneath it.
Where the state on a transition row was read (S§C.11.3).
What the element does with an action outside a lever's feasible range.
A budget over several levers — the constraint that makes a multi-lever action a joint choice rather than several independent ones (§4.4.6).
One declared lever: what a rule may write, and what the ith entry of an action vector means. Order is significant, as for observations.
What values a lever can take, which decides how an out-of-range request may be repaired.
One declared observation: what a rule may read, and what the ith entry of an observation vector means. Order is significant — the position in the descriptor's list is the position in the array (§4.2.3).
A reward source that is a Response or TWResponse.
One declared reward term: (source, kind, rate, sense).
How a reward source accumulates, which is the one thing the epoch algorithm must know about it and the only place in the design that knows the three sources differ (§4.2.5).
Whether a declared term is something to maximise or something to minimise.
The version of the descriptor's own format, carried so a stored description can say what it was written by. It is the schema's version, not the model's and not the library's.
A stored description whose SchemaVersion this library cannot read.
Why a decision episode ended — recorded on every emitted transition, because that it ended is not enough to interpret the last row (§4.6.3).
Which runs first when a decision epoch coincides with the element's warm-up (§4.6.4).
Properties
Functions
Parse a descriptor from JSON produced by toJson.
Parse a descriptor from TOML produced by toToml.
Serialize this descriptor to JSON.
Serialize this descriptor to TOML.
Every way this descriptor fails to describe a surface a model could have declared, or an empty list if it describes one.