Package jsl.observers.variable
Class VariableTraceTextReport
- java.lang.Object
-
- jsl.observers.variable.VariableTraceTextReport
-
- All Implemented Interfaces:
ObserverIfc
public class VariableTraceTextReport extends java.lang.Object implements ObserverIfc
This class creates a comma separated file that traces the value of a variable observation number, time of change, value, time of previous change, previous value, weight, replication number, within replication count, experiment name
-
-
Field Summary
Fields Modifier and Type Field Description protected long
myCount
protected long
myRepCount
protected double
myRepNum
-
Constructor Summary
Constructors Constructor Description VariableTraceTextReport(java.nio.file.Path pathToFile, boolean header)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
update(java.lang.Object observable, java.lang.Object obj)
This method is called when the observable needs observing
-
-
-
Method Detail
-
update
public void update(java.lang.Object observable, java.lang.Object obj)
Description copied from interface:ObserverIfc
This method is called when the observable needs observing- Specified by:
update
in interfaceObserverIfc
- Parameters:
observable
- the thing observedobj
- an object of info
-
-