public abstract class AbstractPhaseScope extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
bestSolutionStepIndex |
protected org.slf4j.Logger |
logger |
protected DefaultSolverScope |
solverScope |
protected Score |
startingScore |
protected long |
startingSystemTimeMillis |
Constructor and Description |
---|
AbstractPhaseScope(DefaultSolverScope solverScope) |
protected final transient org.slf4j.Logger logger
protected final DefaultSolverScope solverScope
protected long startingSystemTimeMillis
protected Score startingScore
protected int bestSolutionStepIndex
public AbstractPhaseScope(DefaultSolverScope solverScope)
public DefaultSolverScope getSolverScope()
public long getStartingSystemTimeMillis()
public Score getStartingScore()
public int getBestSolutionStepIndex()
public void setBestSolutionStepIndex(int bestSolutionStepIndex)
public abstract AbstractStepScope getLastCompletedStepScope()
public void reset()
public SolutionDescriptor getSolutionDescriptor()
public ScoreDefinition getScoreDefinition()
public long calculateSolverTimeMillisSpent()
public long calculatePhaseTimeMillisSpent()
public InnerScoreDirector getScoreDirector()
public Solution getWorkingSolution()
public int getWorkingEntityCount()
public int getWorkingValueCount()
public Score calculateScore()
public void assertExpectedWorkingScore(Score expectedWorkingScore, Object completedAction)
public void assertWorkingScoreFromScratch(Score workingScore, Object completedAction)
public void assertExpectedUndoMoveScore(Move move, Move undoMove, Score beforeMoveScore)
public Random getWorkingRandom()
public boolean isBestSolutionInitialized()
public Score getBestScore()
public String getBestScoreWithUninitializedPrefix()
public long getPhaseBestSolutionTimeMillis()
public int getNextStepIndex()
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.