stimulusdelayreward
Class ExperimentMissTestState
java.lang.Object
|
+--lnsc.page.AbstractState
|
+--stimulusdelayreward.ExperimentState
|
+--stimulusdelayreward.ExperimentTestState
|
+--stimulusdelayreward.ExperimentMissTestState
- All Implemented Interfaces:
- java.lang.Cloneable, State
- public class ExperimentMissTestState
- extends ExperimentTestState
Experiment is a sequence of trial and inter-trial. A trial begin by the
presentation of the stimuli and terminates on juice delivery (reward). An
inter-trial begins after the juice delivery. (A trial is one time-step
longuer tha its delay (for reward delivery).)
In this test version, there are only 5 trials, which I either shorter, or
Miss trials. Their order is chosen randomly. They are build up to be
equivalent to test block, but in late trials, there are no US (hence miss).
Block details:
- InterTrial
- Short or Miss trial
- InterTrial
- Short or Miss trial
- InterTrial
- Short or Miss trial
- InterTrial
- Short or Miss trial
- InterTrial
- Short or Miss trial
- InterTrial
- t=0, isFinal=true
For Trials details, see ExperimentState.
The class getStates uses a combination of clone and doAction.
This class does not provided list of actions, since it is not obervable.
This is not observable, and thus returns an equivalent observable state.
Fields inherited from class stimulusdelayreward.ExperimentState |
CS_ONLY, CURRENT_DELAY, CURRENT_STEP, CURRENT_TRIAL, CURRENT_TRIALTYPE, FIX_CSUS, IS_IN_TRIAL, ITI, LONG_CSUS, MISS, PI_FIX_CSUS, PI_LONG_CSUS, PI_SHORT_CSUS, REWARD, SHORT_CSUS, STEP, STIMULUS, US_ONLY |
Constructor Summary |
ExperimentMissTestState(int fixedDelay)
First constructor to initialize an experiment (a run) that will
begin with an inter-trial at t=0. |
Methods inherited from class lnsc.page.AbstractState |
areActionsFixed, clone, getActionCount, getActionsEnumerator, getProbability, getValue, isCloneable, isDeterministic, isFinal, isObservable, isValid, supportsDo, supportsUndo, toString, undoAction |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ExperimentMissTestState
public ExperimentMissTestState(int fixedDelay)
- First constructor to initialize an experiment (a run) that will
begin with an inter-trial at t=0.
- Parameters:
fixedDelay
- Delay bewtween US onset and CS onset in ms.
doAction
public void doAction(Action a)
- Description copied from interface:
State
- Do an action.
- Specified by:
doAction
in interface State
- Overrides:
doAction
in class ExperimentTestState