public void sampleSequenceRepeatedly ( SequenceModel model , int [ ] sequence , int numSamples ) { sequence = copy ( sequence ) ; // so we don't change the initial, or the one we just stored listener . setInitialSequence ( sequence ) ; for ( int iter = 0 ; iter < numSamples ; iter ++ ) { sampleSequenceForward ( model , sequence ) ; } }
Samples the sequence repeatedly making numSamples passes over the entire sequence .