Uses of Interface
org.optaplanner.core.impl.heuristic.move.Move
Package
Description
-
Uses of Move in org.optaplanner.core.impl.constructionheuristic.placer
-
Uses of Move in org.optaplanner.core.impl.constructionheuristic.scope
Modifier and TypeMethodDescriptionvoid
ModifierConstructorDescriptionConstructionHeuristicMoveScope
(ConstructionHeuristicStepScope<Solution_> stepScope, int moveIndex, Move<Solution_> move) -
Uses of Move in org.optaplanner.core.impl.exhaustivesearch.node
Modifier and TypeMethodDescriptionExhaustiveSearchNode.getMove()
ExhaustiveSearchNode.getUndoMove()
-
Uses of Move in org.optaplanner.core.impl.heuristic.move
Modifier and TypeClassDescriptionclass
AbstractMove<Solution_>
Abstract superclass forMove
.class
CompositeMove<Solution_>
A CompositeMove is composed out of multiple other moves.class
NoChangeMove<Solution_>
Makes no changes.Modifier and TypeMethodDescriptionCompositeMove.buildMove
(Move_... moves) Move.doMove
(ScoreDirector<Solution_> scoreDirector) Does the move (which indirectly affects theScoreDirector.getWorkingSolution()
).CompositeMove.getMoves()
Move.rebase
(ScoreDirector<Solution_> destinationScoreDirector) Rebases a move from an originScoreDirector
to another destinationScoreDirector
which is usually on anotherThread
or JVM. -
Uses of Move in org.optaplanner.core.impl.heuristic.selector.common.iterator
Modifier and TypeClassDescriptionclass
AbstractOriginalChangeIterator<Solution_,
Move_ extends Move<Solution_>> class
AbstractOriginalSwapIterator<Solution_,
Move_ extends Move<Solution_>, SubSelection_> class
AbstractRandomChangeIterator<Solution_,
Move_ extends Move<Solution_>> class
AbstractRandomSwapIterator<Solution_,
Move_ extends Move<Solution_>, SubSelection_> -
Uses of Move in org.optaplanner.core.impl.heuristic.selector.move.composite
Modifier and TypeMethodDescriptionCartesianProductMoveSelector.OriginalCartesianProductMoveIterator.createUpcomingSelection()
CartesianProductMoveSelector.RandomCartesianProductMoveIterator.next()
-
Uses of Move in org.optaplanner.core.impl.heuristic.selector.move.decorator
Modifier and TypeFieldDescriptionAbstractCachingMoveSelector.cachedMoveList
protected NavigableMap<Double,
Move<Solution_>> ProbabilityMoveSelector.cachedMoveMap
protected final SelectionFilter<Solution_,
Move<Solution_>> FilteringMoveSelector.filter
protected final SelectionProbabilityWeightFactory<Solution_,
Move<Solution_>> ProbabilityMoveSelector.probabilityWeightFactory
protected final SelectionSorter<Solution_,
Move<Solution_>> SortingMoveSelector.sorter
Modifier and TypeMethodDescriptionCachingMoveSelector.iterator()
FilteringMoveSelector.iterator()
ProbabilityMoveSelector.iterator()
SelectedCountLimitMoveSelector.iterator()
ShufflingMoveSelector.iterator()
SortingMoveSelector.iterator()
Modifier and TypeMethodDescriptionprotected boolean
FilteringMoveSelector.accept
(ScoreDirector<Solution_> scoreDirector, Move<Solution_> move) ModifierConstructorDescriptionFilteringMoveSelector
(MoveSelector<Solution_> childMoveSelector, SelectionFilter<Solution_, Move<Solution_>> filter) ProbabilityMoveSelector
(MoveSelector<Solution_> childMoveSelector, SelectionCacheType cacheType, SelectionProbabilityWeightFactory<Solution_, ? extends Move<Solution_>> probabilityWeightFactory) SortingMoveSelector
(MoveSelector<Solution_> childMoveSelector, SelectionCacheType cacheType, SelectionSorter<Solution_, Move<Solution_>> sorter) -
Uses of Move in org.optaplanner.core.impl.heuristic.selector.move.factory
Modifier and TypeInterfaceDescriptioninterface
MoveIteratorFactory<Solution_,
Move_ extends Move<Solution_>> Modifier and TypeMethodDescriptionMoveListFactory.createMoveList
(Solution_ solution) When it is called depends on the configuredSelectionCacheType
.MoveIteratorFactoryToMoveSelectorBridge.iterator()
MoveListFactoryToMoveSelectorBridge.iterator()
-
Uses of Move in org.optaplanner.core.impl.heuristic.selector.move.generic
Modifier and TypeClassDescriptionclass
ChangeMove<Solution_>
class
PillarChangeMove<Solution_>
ThisMove
is not cacheable.class
PillarSwapMove<Solution_>
ThisMove
is not cacheable.class
SwapMove<Solution_>
-
Uses of Move in org.optaplanner.core.impl.heuristic.selector.move.generic.chained
Modifier and TypeClassDescriptionclass
ChainedChangeMove<Solution_>
class
ChainedSwapMove<Solution_>
class
KOptMove<Solution_>
class
SubChainChangeMove<Solution_>
class
SubChainReversingChangeMove<Solution_>
class
SubChainReversingSwapMove<Solution_>
ThisMove
is not cacheable.class
SubChainSwapMove<Solution_>
ThisMove
is not cacheable.class
TailChainSwapMove<Solution_>
Also known as a 2-opt move. -
Uses of Move in org.optaplanner.core.impl.heuristic.selector.move.generic.list
Modifier and TypeClassDescriptionclass
ListAssignMove<Solution_>
class
ListChangeMove<Solution_>
Moves an element of alist variable
.class
ListSwapMove<Solution_>
Swaps two elements of alist variable
.class
ListUnassignMove<Solution_>
class
SubListChangeMove<Solution_>
class
SubListSwapMove<Solution_>
Modifier and TypeMethodDescriptionOriginalListChangeIterator.createUpcomingSelection()
OriginalListSwapIterator.createUpcomingSelection()
RandomListChangeIterator.createUpcomingSelection()
RandomListSwapIterator.createUpcomingSelection()
-
Uses of Move in org.optaplanner.core.impl.heuristic.thread
Modifier and TypeMethodDescriptionMoveEvaluationOperation.getMove()
OrderByMoveIndexBlockingQueue.MoveResult.getMove()
ApplyStepOperation.getStep()
Modifier and TypeMethodDescriptionvoid
OrderByMoveIndexBlockingQueue.addMove
(int moveThreadIndex, int stepIndex, int moveIndex, Move<Solution_> move, Score score) This method is thread-safe.void
OrderByMoveIndexBlockingQueue.addUndoableMove
(int moveThreadIndex, int stepIndex, int moveIndex, Move<Solution_> move) This method is thread-safe.protected void
MoveThreadRunner.predictWorkingStepScore
(Move<Solution_> step, Score_ score) ModifierConstructorDescriptionApplyStepOperation
(int stepIndex, Move<Solution_> step, Score_ score) MoveEvaluationOperation
(int stepIndex, int moveIndex, Move<Solution_> move) MoveResult
(int moveThreadIndex, int stepIndex, int moveIndex, Move<Solution_> move, boolean moveDoable, Score score) -
Uses of Move in org.optaplanner.core.impl.localsearch.scope
Modifier and TypeMethodDescriptionLocalSearchStepScope.getStep()
LocalSearchStepScope.getUndoStep()
Modifier and TypeMethodDescriptionvoid
void
LocalSearchStepScope.setUndoStep
(Move<Solution_> undoStep) ModifierConstructorDescriptionLocalSearchMoveScope
(LocalSearchStepScope<Solution_> stepScope, int moveIndex, Move<Solution_> move) -
Uses of Move in org.optaplanner.core.impl.partitionedsearch.scope
Modifier and TypeClassDescriptionfinal class
PartitionChangeMove<Solution_>
Applies a new best solution from a partition child solver into the global working solution of the parent solver. -
Uses of Move in org.optaplanner.core.impl.phase.scope
-
Uses of Move in org.optaplanner.core.impl.score.director
Modifier and TypeMethodDescriptionvoid
AbstractScoreDirector.assertExpectedUndoMoveScore
(Move<Solution_> move, Score_ beforeMoveScore) void
InnerScoreDirector.assertExpectedUndoMoveScore
(Move<Solution_> move, Score_ beforeMoveScore) Asserts that if theScore
is calculated for the currentworking solution
in the currentScoreDirector
(with incremental calculation residue), it is equal to the parameterbeforeMoveScore
.AbstractScoreDirector.doAndProcessMove
(Move<Solution_> move, boolean assertMoveScoreFromScratch) void
AbstractScoreDirector.doAndProcessMove
(Move<Solution_> move, boolean assertMoveScoreFromScratch, Consumer<Score_> moveProcessor) InnerScoreDirector.doAndProcessMove
(Move<Solution_> move, boolean assertMoveScoreFromScratch) void
InnerScoreDirector.doAndProcessMove
(Move<Solution_> move, boolean assertMoveScoreFromScratch, Consumer<Score_> moveProcessor)