class Trials { public: Trials(int nc, int tp); int getNextTrial(); void scramble(); private: int nTrials, nCond,trialsPerCond; int *trialVec; int tpCount; // count within a condition int condCount; int trialCount; }; /* we have 50 advection trials. per condition. conditions. (Path, Ortho,Both, Triangle)x(Static, move) = 8 conditions. = 400 trials (x 3 sec) result is 1200 sec. 20 min. Code conditions 0-7 0,1 Path (move static) 2,3 Orth (move static) 3,4 Both ( Two measures:- advection judgement and speed. */