optaplanner-core/src/main/java/org/optaplanner/core/impl/localsearch/decider/acceptor/hillclimbing/HillClimbingAcceptor.java
@Override
    public boolean isAccepted(LocalSearchMoveScope moveScope) {
        Score moveScore = moveScope.getScore();
        Score lastStepScore = moveScope.getStepScope().getPhaseScope().getLastCompletedStepScope().getScore();
        return moveScore.compareTo(lastStepScore) >= 0;
    }
@Override
    public boolean isAccepted(LocalSearchMoveScope moveScope) {
        Score moveScore = moveScope.getScore();
        Score lastStepScore = moveScope.getStepScope().getPhaseScope().getLastCompletedStepScope().getScore();
        return moveScore.compareTo(lastStepScore) >= 0;
    }
@ Override public boolean isAccepted ( LocalSearchMoveScope moveScope ) { Score moveScore = moveScope . getScore ( ) ; Score lastStepScore = moveScope . getStepScope ( ) . getPhaseScope ( ) . getLastCompletedStepScope ( ) . getScore ( ) ; return moveScore . compareTo ( lastStepScore ) >= 0 ; }
************************************************************************
************************************************************************