public void reset() {
        bestSolutionStepIndex = -1;
        // TODO Usage of solverScope.getBestScore() would be better performance wise but is null with a uninitialized score
        startingScore = solverScope.calculateScore();
        if (getLastCompletedStepScope().getStepIndex() < 0) {
            getLastCompletedStepScope().setScore(startingScore);
        }
    }
public void reset() {
        bestSolutionStepIndex = -1;
        
        startingScore = solverScope.calculateScore();
        if (getLastCompletedStepScope().getStepIndex() < 0) {
            getLastCompletedStepScope().setScore(startingScore);
        }
    }
public void reset ( ) { bestSolutionStepIndex = - 1 ; // TODO Usage of solverScope.getBestScore() would be better performance wise but is null with a uninitialized score startingScore = solverScope . calculateScore ( ) ; if ( getLastCompletedStepScope ( ) . getStepIndex ( ) < 0 ) { getLastCompletedStepScope ( ) . setScore ( startingScore ) ; } }
************************************************************************
************************************************************************