src/utils/procedure/Procedure.java
public void calculateExpressionPerStep(Sequence inputSequence, Sequence outputSequence) throws MatrixException, DynamicParamException {
        Set<Integer> inputKeySet = reversedInput ? inputSequence.descendingKeySet() : inputSequence.keySet();

        for (Integer sampleIndex : inputKeySet) setInputSample(sampleIndex, inputSequence.get(sampleIndex));

        expressionChain.calculateExpressionStep(inputKeySet);

        for (Integer sampleIndex : inputKeySet) outputSequence.put(sampleIndex, setOutputSample(sampleIndex));
    }
/**
     * Calculates chain of forward expressions for all samples.
     *
     * @param inputSequence input sequence.
     * @param outputSequence output sequence.
     * @throws MatrixException throws exception if calculation fails.
     * @throws DynamicParamException throws exception if parameter (params) setting fails.
     */
Calculates chain of forward expressions for all samples.

@param inputSequence input sequence.
@param outputSequence output sequence.
@throws MatrixException throws exception if calculation fails.
@throws DynamicParamException throws exception if parameter (params) setting fails.
Calculates chain of forward expressions for all samples . @param inputSequence input sequence . @param outputSequence output sequence . @throws MatrixException throws exception if calculation fails . @throws DynamicParamException throws exception if parameter ( params ) setting fails .
public void calculateExpressionPerStep(Sequence inputSequence, Sequence outputSequence) throws MatrixException, DynamicParamException {
        Set<Integer> inputKeySet = reversedInput ? inputSequence.descendingKeySet() : inputSequence.keySet();
        for (Integer sampleIndex : inputKeySet) setInputSample(sampleIndex, inputSequence.get(sampleIndex));
        expressionChain.calculateExpressionStep(inputKeySet);
        for (Integer sampleIndex : inputKeySet) outputSequence.put(sampleIndex, setOutputSample(sampleIndex));
    }
public void calculateExpressionPerStep ( Sequence inputSequence , Sequence outputSequence ) throws MatrixException , DynamicParamException { Set < Integer > inputKeySet = reversedInput ? inputSequence . descendingKeySet ( ) : inputSequence . keySet ( ) ; for ( Integer sampleIndex : inputKeySet ) setInputSample ( sampleIndex , inputSequence . get ( sampleIndex ) ) ; expressionChain . calculateExpressionStep ( inputKeySet ) ; for ( Integer sampleIndex : inputKeySet ) outputSequence . put ( sampleIndex , setOutputSample ( sampleIndex ) ) ; }
Calculates chain of forward expressions for all samples.
Calculates chain of forward expressions for all samples .