public class StochasticSimulatorTest.ObserverImpl extends Observer
Saves the theta events it receives.
Modifier and Type | Field and Description |
---|---|
(package private) Collection<Object> |
thetas |
Constructor and Description |
---|
ObserverImpl(StochasticSimulator sim) |
Modifier and Type | Method and Description |
---|---|
void |
finished() |
void |
observeEvent(SimulationEvent event,
double tau,
int times) |
void |
started() |
void |
step() |
void |
theta(double thetaTime,
Collection<Object> events) |
Collection<Object> thetas
public ObserverImpl(StochasticSimulator sim)
public void theta(double thetaTime, Collection<Object> events)
public void observeEvent(SimulationEvent event, double tau, int times)
observeEvent
in class Observer
Copyright © 2015 University of Glasgow. All rights reserved.