stimulusdelayreward
Class Tools

java.lang.Object
  |
  +--stimulusdelayreward.Tools

public class Tools
extends java.lang.Object

Set of tools for the environment and simulations data.


Constructor Summary
Tools()
           
 
Method Summary
static void dumpE(DataSetCollector dsc)
          Takes a DataSetCollector and dump V values for trials 1, 11, 21, 31, 41, 51, 101 & 151 & 201
static void dumpR(DataSetCollector dsc)
          Takes a DataSetCollector and dump R values for trials 1, 11, 21, 31, 41, 51, 101 & 151 & 201
static void dumpV(DataSetCollector dsc)
          Takes a DataSetCollector and dump V values for trials 1, 11, 21, 31, 41, 51, 101 & 151 & 201
static DataSetCollection loadDataSet(java.lang.String fileName)
          Loads a data set (saved using #saveDataSet) from a file.
static void saveDataSetCollection(java.lang.String fileName, DataSetCollection dataSet)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tools

public Tools()
Method Detail

dumpE

public static void dumpE(DataSetCollector dsc)
Takes a DataSetCollector and dump V values for trials 1, 11, 21, 31, 41, 51, 101 & 151 & 201


dumpR

public static void dumpR(DataSetCollector dsc)
Takes a DataSetCollector and dump R values for trials 1, 11, 21, 31, 41, 51, 101 & 151 & 201


dumpV

public static void dumpV(DataSetCollector dsc)
Takes a DataSetCollector and dump V values for trials 1, 11, 21, 31, 41, 51, 101 & 151 & 201


loadDataSet

public static DataSetCollection loadDataSet(java.lang.String fileName)
                                     throws java.io.IOException,
                                            java.lang.ClassNotFoundException
Loads a data set (saved using #saveDataSet) from a file.

Parameters:
fileName - The name of the file.
Returns:
The data set read.
java.io.IOException
java.lang.ClassNotFoundException

saveDataSetCollection

public static void saveDataSetCollection(java.lang.String fileName,
                                         DataSetCollection dataSet)
                                  throws java.io.IOException
java.io.IOException