Terms in the global energy
Compute for each
descendant of i how
the cost of predicting
the state of that
descendant changes
Compute for i itself
how the cost of
predicting the state of
i changes