org.drools.planner.core.phase
Class AbstractSolverPhaseScope
java.lang.Object
org.drools.planner.core.phase.AbstractSolverPhaseScope
- Direct Known Subclasses:
- BruteForceSolverPhaseScope, CustomSolverPhaseScope, GreedyFitSolverPhaseScope, LocalSearchSolverPhaseScope
public abstract class AbstractSolverPhaseScope
- extends Object
logger
protected final transient org.slf4j.Logger logger
solverScope
protected DefaultSolverScope solverScope
startingSystemTimeMillis
protected long startingSystemTimeMillis
startingScore
protected Score startingScore
bestSolutionStepIndex
protected int bestSolutionStepIndex
AbstractSolverPhaseScope
public AbstractSolverPhaseScope(DefaultSolverScope solverScope)
getSolverScope
public DefaultSolverScope getSolverScope()
getStartingSystemTimeMillis
public long getStartingSystemTimeMillis()
getStartingScore
public Score getStartingScore()
setStartingScore
public void setStartingScore(Score startingScore)
getBestSolutionStepIndex
public int getBestSolutionStepIndex()
setBestSolutionStepIndex
public void setBestSolutionStepIndex(int bestSolutionStepIndex)
getLastCompletedStepScope
public abstract AbstractStepScope getLastCompletedStepScope()
reset
public void reset()
getSolutionDescriptor
public SolutionDescriptor getSolutionDescriptor()
getScoreDefinition
public ScoreDefinition getScoreDefinition()
calculateSolverTimeMillisSpend
public long calculateSolverTimeMillisSpend()
calculatePhaseTimeMillisSpend
public long calculatePhaseTimeMillisSpend()
getScoreDirector
public ScoreDirector getScoreDirector()
getWorkingSolution
public Solution getWorkingSolution()
getWorkingPlanningEntityList
public List<Object> getWorkingPlanningEntityList()
isWorkingSolutionInitialized
public boolean isWorkingSolutionInitialized()
calculateScore
public Score calculateScore()
assertWorkingScore
public void assertWorkingScore(Score workingScore)
getWorkingRandom
public Random getWorkingRandom()
getBestScore
public Score getBestScore()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.