optaplanner-core/src/main/java/org/optaplanner/core/config/solver/recaller/BestSolutionRecallerConfig.java
public <Solution_> BestSolutionRecaller<Solution_> buildBestSolutionRecaller(EnvironmentMode environmentMode) {
        BestSolutionRecaller<Solution_> bestSolutionRecaller = new BestSolutionRecaller<>();
        if (environmentMode.isNonIntrusiveFullAsserted()) {
            bestSolutionRecaller.setAssertInitialScoreFromScratch(true);
            bestSolutionRecaller.setAssertShadowVariablesAreNotStale(true);
            bestSolutionRecaller.setAssertBestScoreIsUnmodified(true);
        }
        return bestSolutionRecaller;
    }
public <Solution_> BestSolutionRecaller<Solution_> buildBestSolutionRecaller(EnvironmentMode environmentMode) {
        BestSolutionRecaller<Solution_> bestSolutionRecaller = new BestSolutionRecaller<>();
        if (environmentMode.isNonIntrusiveFullAsserted()) {
            bestSolutionRecaller.setAssertInitialScoreFromScratch(true);
            bestSolutionRecaller.setAssertShadowVariablesAreNotStale(true);
            bestSolutionRecaller.setAssertBestScoreIsUnmodified(true);
        }
        return bestSolutionRecaller;
    }
public < Solution_ > BestSolutionRecaller < Solution_ > buildBestSolutionRecaller ( EnvironmentMode environmentMode ) { BestSolutionRecaller < Solution_ > bestSolutionRecaller = new BestSolutionRecaller <> ( ) ; if ( environmentMode . isNonIntrusiveFullAsserted ( ) ) { bestSolutionRecaller . setAssertInitialScoreFromScratch ( true ) ; bestSolutionRecaller . setAssertShadowVariablesAreNotStale ( true ) ; bestSolutionRecaller . setAssertBestScoreIsUnmodified ( true ) ; } return bestSolutionRecaller ; }
************************************************************************
************************************************************************