com.speckled.specksim.state
Class StateGenerator

java.lang.Object
  extended by com.speckled.specksim.state.StateGenerator
All Implemented Interfaces:
java.lang.Runnable

public class StateGenerator
extends java.lang.Object
implements java.lang.Runnable

Runs a simulation and records the resultant state objects to a file

Author:
ryanm

Constructor Summary
StateGenerator(java.io.File config, float start, float end, float rate, java.lang.String output)
          Constructs a new StateGenerator
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateGenerator

public StateGenerator(java.io.File config,
                      float start,
                      float end,
                      float rate,
                      java.lang.String output)
Constructs a new StateGenerator

Parameters:
config - The configuration file
start - The starting simulation time of the state log file
end - The ending simulation time of the state log file
rate - The rate at which the simulation is sampled
output - The output file name
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable