StateLogger¶
-
public class
StateLogger
extends AbstractLogger¶ Records the fluorophore states to a file. The StateLogger is a singleton.
Author: Kyle M. Douglass
Methods¶
getFilename¶
getInstance¶
-
public static StateLogger
getInstance
()¶ Returns: An instance of the singleton.
logStateTransition¶
-
public void
logStateTransition
(int id, double timeElapsed, int initialState, int nextState)¶ Simple logger for state transitions and their times.
Parameters: - id – integer ID of the emitter
- timeElapsed – The time spent in the current state
- initialState – integer ID of the original state
- nextState – integer ID for the new fluorophore state