Esempio n. 1
0
 //Generate random indices
 private void GenerateRandomStimuliSet()
 {
     for (int i = 0; i < trials; ++i)
     {
         Stimulus newStimulus = GetRandomStimulus();
         testStimuli.Enqueue(newStimulus);
     }
 }
Esempio n. 2
0
 //Equals
 public abstract bool EqualsToOther(Stimulus other);
Esempio n. 3
0
        public override bool EqualsToOther(Stimulus other)
        {
            Phoneme otherPhoneme = other as Phoneme;

            return(Name.Equals(otherPhoneme.Name));
        }