|
SSJ
3.3.1
Stochastic Simulation in Java
|
Does nothing but counting the total number of observations. More...
Public Member Functions | |
| BasicObservationCollector (String label) | |
| String | getLabel () |
| int | getNumObservations () |
| void | init () |
| Resets the collector. More... | |
| void | observe (E observation) |
| Updates the number of observations. | |
| Report | report () |
| Returns a report of measurements on the data collected by the collector. | |
| String | toString () |
Protected Attributes | |
| String | label |
| int | nObservations |
Does nothing but counting the total number of observations.
Provides useful functionality for deriving classes.
Deriving classes overriding methods, e.g. init() or add(), must call their parent's versions.
| BasicObservationCollector | ( | String | label | ) |
| label | label describing the collector |
| void init | ( | ) |
1.8.14