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

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

            expressionChain.calculateExpressionStep(sampleIndex, firstKey);

            outputSequence.put(sampleIndex, setOutputSample(sampleIndex));
        }
    }
/**
     * Calculates chain of forward expressions sample by sample.
     *
     * @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 sample by sample.

@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 sample by sample . @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 calculateExpressionPerSample(Sequence inputSequence, Sequence outputSequence) throws MatrixException, DynamicParamException {
        Set<Integer> inputKeySet = reversedInput ? inputSequence.descendingKeySet() : inputSequence.keySet();
        int firstKey = reversedInput ? inputSequence.lastKey() : inputSequence.firstKey();
        for (Integer sampleIndex : inputKeySet) {
            setInputSample(sampleIndex, inputSequence.get(sampleIndex));
            expressionChain.calculateExpressionStep(sampleIndex, firstKey);
            outputSequence.put(sampleIndex, setOutputSample(sampleIndex));
        }
    }
public void calculateExpressionPerSample ( Sequence inputSequence , Sequence outputSequence ) throws MatrixException , DynamicParamException { Set < Integer > inputKeySet = reversedInput ? inputSequence . descendingKeySet ( ) : inputSequence . keySet ( ) ; int firstKey = reversedInput ? inputSequence . lastKey ( ) : inputSequence . firstKey ( ) ; for ( Integer sampleIndex : inputKeySet ) { setInputSample ( sampleIndex , inputSequence . get ( sampleIndex ) ) ; expressionChain . calculateExpressionStep ( sampleIndex , firstKey ) ; outputSequence . put ( sampleIndex , setOutputSample ( sampleIndex ) ) ; } }
Calculates chain of forward expressions sample by sample.
Calculates chain of forward expressions sample by sample .