|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--stimulusdelayrewardanalyzer.Convert2DB
Main conversion thread to convert .dsc76 files into ODBC mdb. This class can work on its own thread. It reads a given directory .dsc76 files made using StimulusDelayReward_28Jul06_1 based code and extract a specific train or test block into a .txt file. Dump files are renaed to : m_TargetPath + "\\" + id + "_export_" + m_BlockIndex + xstr + ".txt" Dumping is done by Tools.dumpBlock().
Field Summary | |
static int |
CONTROL
|
static int |
TEST
|
static int |
TRAIN
|
Constructor Summary | |
Convert2DB(java.lang.String newDatabaseName,
java.lang.String newDscFilesPath,
java.sql.Date newDate,
int newModel)
Construct a Runnable class that analyse a whole directory of .dsc76 files to convert them into an access database. |
Method Summary | |
int |
getAllBlockCount()
Number of all blocks within current .dsc76 files. |
int |
getAllNetworkCount()
Number of .dsc76 files in total. |
int |
getBlockCount()
Number of blocks within current .dsc file completely processed. |
int |
getNetworkCount()
Number of .dsc76 files completely processed. |
java.lang.String |
getText()
Returns the current text buffer and empty it. |
void |
run()
Function called by THREAD.start(). |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int CONTROL
public static final int TEST
public static final int TRAIN
Constructor Detail |
public Convert2DB(java.lang.String newDatabaseName, java.lang.String newDscFilesPath, java.sql.Date newDate, int newModel)
newDatabaseName
- Name of the access databse to write to.newDscFilesPath
- Name of the directory to read .dsc files from.newDate
- Date of trainingnewModel
- Model of networks trainedMethod Detail |
public int getAllBlockCount()
public int getAllNetworkCount()
public int getBlockCount()
public int getNetworkCount()
public java.lang.String getText()
public void run()
run
in interface java.lang.Runnable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |