function computePrevPenalty() {
        var penalty = 0;
        var localCounter = ABORT_COUNTER + 1;
        if (nextLevel === 1 && localCounter > 1) {
            penalty = ABORT_PENALTY * 2;
        } else if (localCounter !== 0) {
            penalty = ABORT_PENALTY;
        }
        return penalty;
    }
/**
     * Allows to calculate previsional penalty
     * @returns {number}
     */
Allows to calculate previsional penalty
@returns {number}
Allows to calculate previsional penalty @returns { number }
function computePrevPenalty() {
        var penalty = 0;
        var localCounter = ABORT_COUNTER + 1;
        if (nextLevel === 1 && localCounter > 1) {
            penalty = ABORT_PENALTY * 2;
        } else if (localCounter !== 0) {
            penalty = ABORT_PENALTY;
        }
        return penalty;
    }
function computePrevPenalty ( ) { var penalty = 0 ; var localCounter = ABORT_COUNTER + 1 ; if ( nextLevel === 1 && localCounter > 1 ) { penalty = ABORT_PENALTY * 2 ; } else if ( localCounter !== 0 ) { penalty = ABORT_PENALTY ; } return penalty ; }
Allows to calculate previsional penalty
 @returns {number}
Allows to calculate previsional penalty @returns { number }