The StateListener listens for changes in the simulation’s state. These changes can occur at any time on a continuous interval between the simulation time steps.
Dumps the contents of the cache to a JSON string. Calling this method will irreversibly clear the cache. This method will return null if the cache is empty.