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