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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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()
getSolutionDirector
public SolutionDirector getSolutionDirector()
getWorkingSolution
public Solution getWorkingSolution()
getWorkingFacts
public Collection<Object> getWorkingFacts()
getWorkingPlanningEntityList
public List<Object> getWorkingPlanningEntityList()
isWorkingSolutionInitialized
public boolean isWorkingSolutionInitialized()
getWorkingMemory
public org.drools.WorkingMemory getWorkingMemory()
calculateScoreFromWorkingMemory
public Score calculateScoreFromWorkingMemory()
assertWorkingScore
public void assertWorkingScore(Score presumedScore)
getWorkingRandom
public Random getWorkingRandom()
getBestScore
public Score getBestScore()
Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.