public void sampleSequenceForward ( SequenceModel model , int [ ] sequence , double temperature ) { // System.err.println("Sampling forward"); for ( int pos = 0 ; pos < sequence . length ; pos ++ ) { samplePosition ( model , sequence , pos , temperature ) ; } }
Samples the complete sequence once in the forward direction Destructively modifies the sequence in place .