Objectives#
The quantity a planner minimises is a tree of named terms, one block per state factor or modality.
Each term is an Interval that bounds a quantity such as risk, ambiguity or
information gain, and says whether the bound is exact. total folds a tree into the single
expected free energy. The default objective is the standard expected free energy.
Which variables carry an information-gain term is set by the epistemic selector of a
System, by name: a state factor, the parameters of a transition or of a likelihood. Leaving a
name out removes that term and nothing else. Preferences enter through the targets described under
Preferences. New terms are added by registering a name and a sign.
Term trees#
Fold a term tree into a single G Interval (expected free energy, minimized). |
|
Merge term trees block-wise, dropping empty terms. |
|
Apply |
|
Register a term name with its sign as a contribution to G: |
Intervals#
A closed interval [lower, upper], broadcastable like its member arrays. |