diff --git a/src/main/scala/org/xcit/nback/generators/SkewedSequenceGenerator.scala b/src/main/scala/org/xcit/nback/generators/SkewedSequenceGenerator.scala index a54b5a4..3549506 100644 --- a/src/main/scala/org/xcit/nback/generators/SkewedSequenceGenerator.scala +++ b/src/main/scala/org/xcit/nback/generators/SkewedSequenceGenerator.scala @@ -7,12 +7,12 @@ * Reference: Ralph2014 - Appendix A * * @param alphabet Alphabet used to generate the sequence, excluding the target item - * @param target Target character. + * @param target Target item. It must not be included in [[alphabet]]. * @param N The set size of stimuli to remember (n in n-back). Default is 3. - * @param T Probability of matching target in a trial (from 0 to 100). - * @param D Probability of showing a non-matching distractor in a trial (from 0 to 100). - * @param L1 Probability of showing a matching item with n-1 item (pre-trial match), in a trial (from 0 to 100). - * @param L2 Probability of showing a matching item with n+1 item (post-trial match) in a trial (from 0 to 100). + * @param T Number of target trials + * @param D Number of non-matching distractor trials. + * @param L1 Number of pre-lure trials; new trial matches with n-1 trial (pre-trial match). + * @param L2 Number of post-lure trials; trial matches with n+1 trial (post-trial match). */ class SkewedSequenceGenerator( alphabet: String = "ABCDEFGH", // it's also called pool in ralph2014