Module for that implements various kinds of observables
The set of observables is itself observable, too
Add a new observable to the set of all observables.
Return all observables of a given type.
Return all observable of a given type with given observableName.
Remove an observable from the set of all observables.
An observable class that handles a stream of floats
Add a new value for the given point in time to the observable.
Observable class for observing functions over the state space.
This class implements an observable for observing (one-dimensional) functions defined over the state space. This function can either implement an mapping f: S -> R (real numbers, *discreteValues*=False) or a mapping f: S -> C (some discrete finite set of values, *discreteValues*=True). An example for the first kind of function would be the optimal value function V(s), an example for the second case a deterministic policy pi(s), with C being the action space.
Creates a graphical representation of a FunctionOverStateSpace.
Creates a plot of policy in the 2D subspace of the state space spanned by stateIndex1 and stateIndex2.
Inform observable that the encapsulated function has changed.
Observable class for observing models.
This class implements an observable for observing MMLF models. Whenever a new state transition, a new start state or a new terminal state is added to the model, this observable notifies all observers of this change.
Does the actual plotting (either for viewer or for log-graphic).
Inform observable that the encapsulated model has changed.
Base class for all MMLf observables.
Add an observer that gets informed of all changes of this observable.
Remove an observer of this observable.
Observable class for real valued functions over the state action space.
This might be for instance a Q-function or the eligibility traces or a stochastic policy.
Plots the q-Function for the case of a 2-dim subspace of the state space.
plotStateDims :The 2 dims that should be plotted plotActions : The action that should be plotted rasterPoints : How many raster points per dimension
Inform observable that the encapsulated function has changed.
An observable class that can monitor an agent’s trajectory
Add a new transition to the observable.
Adds the transition from state to succState for chosen action action and obtained reward reward to the observable. If episodeTerminated, succState is a terminal state of the environment.