be.ac.ua.broker.allocation.spot.model
Class DataReader

java.lang.Object
  extended by be.ac.ua.broker.allocation.spot.model.DataReader

public class DataReader
extends java.lang.Object

The DataReader class is used to read data from the input CSV data file.

Author:
Vermeersch Kurt (Based on Sangho Yi c++ implementation of the spot model)

Constructor Summary
DataReader(State st)
          Constructor for DataReader
 
Method Summary
 void readSourceData()
          Read data from the data input file and put it in the source records in the state object of the simulation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataReader

public DataReader(State st)
Constructor for DataReader

Parameters:
st - the state object being used during the simulation
Method Detail

readSourceData

public void readSourceData()
Read data from the data input file and put it in the source records in the state object of the simulation