|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--stimulusdelayrewardanalyzer.Tools
Set of tools for the environment and simulations data.
Field Summary | |
static java.lang.String |
ACTORS
|
static java.lang.String |
ACTORS_WEIGHTS
|
static java.lang.String |
ACTORS_WEIGHTS_CHANGE
|
static java.lang.String |
CRITICS
|
static java.lang.String |
CRITICS_WEIGHTS
|
static java.lang.String |
CRITICS_WEIGHTS_CHANGE
|
static java.lang.String |
CURRENT_DELAY
|
static java.lang.String |
CURRENT_STEP
|
static java.lang.String |
CURRENT_TRIAL
|
static java.lang.String |
CURRENT_TRIALTYPE
|
static java.lang.String |
DOPAMINE
|
static java.lang.String |
IS_IN_TRIAL
|
static java.lang.String |
PREDICTION
|
static java.lang.String |
REWARD
|
static java.lang.String |
STEP
|
static java.lang.String |
STIMULUS
|
Constructor Summary | |
Tools()
|
Method Summary | |
static void |
dumpBlock(DataSetCollection state,
DataSetCollection monkey,
java.io.PrintStream out)
|
static java.lang.String |
getDelay(java.lang.String fileName)
Extract the network retrained delay from a "delay_TrainedAgentid.dsc76" filename string. |
static java.lang.String |
getID(java.lang.String fileName)
Extract the network ID from a "Resultid.dsc76" filename string or from a "xxxTrainedAgentid.dsc76" filename string. |
static java.io.File[] |
listDataSetCollections(java.lang.String path)
Lists all the data set collection (builx x76, .dsc76 files) in a directory. |
static DataSetCollection |
loadDataSetColl(java.io.File fileName)
Loads a data set (saved using #saveDataSet ) from a file. |
static DataSetCollection |
loadDataSetColl(java.lang.String fileName)
Loads a data set (saved using #saveDataSet ) from a file. |
static java.sql.Connection |
openConnection(java.lang.String dbName)
Establsihed a connection and close it. |
static java.lang.String |
testConnection(java.lang.String dbName)
Try to establshed a connection and close it. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String ACTORS
public static final java.lang.String ACTORS_WEIGHTS
public static final java.lang.String ACTORS_WEIGHTS_CHANGE
public static final java.lang.String CRITICS
public static final java.lang.String CRITICS_WEIGHTS
public static final java.lang.String CRITICS_WEIGHTS_CHANGE
public static final java.lang.String CURRENT_DELAY
public static final java.lang.String CURRENT_STEP
public static final java.lang.String CURRENT_TRIAL
public static final java.lang.String CURRENT_TRIALTYPE
public static final java.lang.String DOPAMINE
public static final java.lang.String IS_IN_TRIAL
public static final java.lang.String PREDICTION
public static final java.lang.String REWARD
public static final java.lang.String STEP
public static final java.lang.String STIMULUS
Constructor Detail |
public Tools()
Method Detail |
public static void dumpBlock(DataSetCollection state, DataSetCollection monkey, java.io.PrintStream out)
public static java.lang.String getDelay(java.lang.String fileName)
fileName
- A .dsc76 file name of the form delay_TrainedAgentid.dsc76public static java.lang.String getID(java.lang.String fileName)
fileName
- A .dsc76 file name of the form ...tid.dsc76public static java.io.File[] listDataSetCollections(java.lang.String path)
path
- Path of the directory to open
public static DataSetCollection loadDataSetColl(java.io.File fileName) throws java.io.IOException, java.lang.ClassNotFoundException
#saveDataSet
) from a file.
fileName
- The name of the file.
java.io.IOException
java.lang.ClassNotFoundException
public static DataSetCollection loadDataSetColl(java.lang.String fileName) throws java.io.IOException, java.lang.ClassNotFoundException
#saveDataSet
) from a file.
fileName
- The name of the file.
java.io.IOException
java.lang.ClassNotFoundException
public static java.sql.Connection openConnection(java.lang.String dbName)
dbName
- ODBC connection name
public static java.lang.String testConnection(java.lang.String dbName)
dbName
- ODBC connection name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |