org.drools.planner.core.solver
Class DefaultSolverScope
java.lang.Object
org.drools.planner.core.solver.DefaultSolverScope
public class DefaultSolverScope
- 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
solutionDirector
protected DefaultSolutionDirector solutionDirector
restartSolver
protected boolean restartSolver
startingSystemTimeMillis
protected long startingSystemTimeMillis
workingRandom
protected Random workingRandom
startingInitializedScore
protected Score startingInitializedScore
bestSolution
protected Solution bestSolution
bestScore
protected Score bestScore
DefaultSolverScope
public DefaultSolverScope()
getSolutionDirector
public DefaultSolutionDirector getSolutionDirector()
setSolutionDirector
public void setSolutionDirector(DefaultSolutionDirector solutionDirector)
getSolutionDescriptor
public SolutionDescriptor getSolutionDescriptor()
getScoreDefinition
public ScoreDefinition getScoreDefinition()
getStartingSystemTimeMillis
public long getStartingSystemTimeMillis()
setStartingSystemTimeMillis
public void setStartingSystemTimeMillis(long startingSystemTimeMillis)
isRestartSolver
public boolean isRestartSolver()
setRestartSolver
public void setRestartSolver(boolean restartSolver)
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()
setWorkingRandom
public void setWorkingRandom(Random workingRandom)
getStartingInitializedScore
public Score getStartingInitializedScore()
setStartingInitializedScore
public void setStartingInitializedScore(Score startingInitializedScore)
getCalculateCount
public long getCalculateCount()
getBestSolution
public Solution getBestSolution()
setBestSolution
public void setBestSolution(Solution bestSolution)
getBestScore
public Score getBestScore()
setBestScore
public void setBestScore(Score bestScore)
reset
public void reset()
calculateTimeMillisSpend
public long calculateTimeMillisSpend()
Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.