Method of Model.
add_observable(const string observable_name, const Interaction interaction) -> Model
Add an observable to the model with a given neighbourhood_name.
Parameters
- observable_name: The name of the observable to be added.
- interaction: An interaction that is measured.