stimulusdelayreward
Class DataSetCollector
java.lang.Object
|
+--stimulusdelayreward.DataSetCollector
- All Implemented Interfaces:
- java.util.Observer
- public class DataSetCollector
- extends java.lang.Object
- implements java.util.Observer
Default collector for an experiment. Will store data from state and agents.
Method Summary |
int |
getTrialIndex(int trial)
Return the first index in DataSetCollection for "CurrentTrial" = x |
void |
update(java.util.Observable o,
java.lang.Object arg)
Assumes state called before monkey request action and
monkey called only once in request action. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_CorrectFound
public boolean m_CorrectFound
m_FirstCorrectStep
public int m_FirstCorrectStep
MonkeyHistory
public DataSetCollection MonkeyHistory
StateHistory
public DataSetCollection StateHistory
DataSetCollector
public DataSetCollector()
- Constructor.
getTrialIndex
public int getTrialIndex(int trial)
- Return the first index in DataSetCollection for "CurrentTrial" = x
update
public void update(java.util.Observable o,
java.lang.Object arg)
- Assumes state called before monkey request action and
monkey called only once in request action.
- Specified by:
update
in interface java.util.Observer