Package org.drools.planner.core.phase.custom.scope

Examples of org.drools.planner.core.phase.custom.scope.CustomSolverPhaseScope.calculateSolverTimeMillisSpend()


            bestSolutionRecaller.updateBestSolution(stepScope.getPhaseScope().getSolverScope(),
                    stepScope.createOrGetClonedSolution());
        }
        CustomSolverPhaseScope customSolverPhaseScope = stepScope.getPhaseScope();
        if (logger.isDebugEnabled()) {
            long timeMillisSpend = customSolverPhaseScope.calculateSolverTimeMillisSpend();
            logger.debug("    Step index ({}), time spend ({}), score ({}), {} best score ({}).",
                    new Object[]{stepScope.getStepIndex(), timeMillisSpend,
                            stepScope.getScore(),
                            bestScoreImproved ? "new" : (forceUpdateBestSolution ? "forced" : "   "),
                            customSolverPhaseScope.getBestScore()});
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.