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.


Field Summary
 boolean m_CorrectFound
           
 int m_FirstCorrectStep
           
 DataSetCollection MonkeyHistory
           
 DataSetCollection StateHistory
           
 
Constructor Summary
DataSetCollector()
          Constructor.
 
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
 

Field Detail

m_CorrectFound

public boolean m_CorrectFound

m_FirstCorrectStep

public int m_FirstCorrectStep

MonkeyHistory

public DataSetCollection MonkeyHistory

StateHistory

public DataSetCollection StateHistory
Constructor Detail

DataSetCollector

public DataSetCollector()
Constructor.

Method Detail

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