Class AbstractMoveScope<Solution_>
- java.lang.Object
-
- org.optaplanner.core.impl.phase.scope.AbstractMoveScope<Solution_>
-
- Type Parameters:
Solution_
- the solution type, the class with thePlanningSolution
annotation
- Direct Known Subclasses:
ConstructionHeuristicMoveScope
,LocalSearchMoveScope
public abstract class AbstractMoveScope<Solution_> extends Object
-
-
Constructor Summary
Constructors Constructor Description AbstractMoveScope(int moveIndex, Move<Solution_> move)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Move<Solution_>
getMove()
int
getMoveIndex()
<Score_ extends Score<Score_>>
Score_getScore()
<Score_ extends Score<Score_>>
InnerScoreDirector<Solution_,Score_>getScoreDirector()
int
getStepIndex()
abstract AbstractStepScope<Solution_>
getStepScope()
Random
getWorkingRandom()
Solution_
getWorkingSolution()
<Score_ extends Score<Score_>>
voidsetScore(Score_ score)
String
toString()
-
-
-
Method Detail
-
getStepScope
public abstract AbstractStepScope<Solution_> getStepScope()
-
getMoveIndex
public int getMoveIndex()
-
getScore
public <Score_ extends Score<Score_>> Score_ getScore()
-
setScore
public <Score_ extends Score<Score_>> void setScore(Score_ score)
-
getStepIndex
public int getStepIndex()
-
getScoreDirector
public <Score_ extends Score<Score_>> InnerScoreDirector<Solution_,Score_> getScoreDirector()
-
getWorkingSolution
public Solution_ getWorkingSolution()
-
getWorkingRandom
public Random getWorkingRandom()
-
-