Uses of Interface
ai.timefold.solver.core.impl.heuristic.move.Move
Packages that use Move
Package
Description
Contains classes relevant to K-Opt moves.
-
Uses of Move in ai.timefold.solver.core.impl.constructionheuristic.placer
Methods in ai.timefold.solver.core.impl.constructionheuristic.placer that return types with arguments of type MoveConstructor parameters in ai.timefold.solver.core.impl.constructionheuristic.placer with type arguments of type Move -
Uses of Move in ai.timefold.solver.core.impl.constructionheuristic.scope
Methods in ai.timefold.solver.core.impl.constructionheuristic.scope that return MoveMethods in ai.timefold.solver.core.impl.constructionheuristic.scope with parameters of type MoveModifier and TypeMethodDescriptionvoidConstructors in ai.timefold.solver.core.impl.constructionheuristic.scope with parameters of type MoveModifierConstructorDescriptionConstructionHeuristicMoveScope(ConstructionHeuristicStepScope<Solution_> stepScope, int moveIndex, Move<Solution_> move) -
Uses of Move in ai.timefold.solver.core.impl.exhaustivesearch.node
Methods in ai.timefold.solver.core.impl.exhaustivesearch.node that return MoveModifier and TypeMethodDescriptionExhaustiveSearchNode.getMove()ExhaustiveSearchNode.getUndoMove()Methods in ai.timefold.solver.core.impl.exhaustivesearch.node with parameters of type Move -
Uses of Move in ai.timefold.solver.core.impl.heuristic.move
Classes in ai.timefold.solver.core.impl.heuristic.move that implement MoveModifier and TypeClassDescriptionclassAbstractMove<Solution_>Abstract superclass forMove, requiring implementation of undo moves.classAbstractSimplifiedMove<Solution_>This is an alternative toAbstractMove, allowing to trade some performance for less boilerplate.classAbstractUndoMove<Solution_>Abstract superclass forMove, suggested starting point to implement undo moves when not usingAbstractSimplifiedMove.final classCompositeMove<Solution_>A CompositeMove is composed out of multiple other moves.final classNoChangeMove<Solution_>Makes no changes.final classRecordedUndoMove<Solution_>Fields in ai.timefold.solver.core.impl.heuristic.move declared as MoveMethods in ai.timefold.solver.core.impl.heuristic.move with type parameters of type MoveMethods in ai.timefold.solver.core.impl.heuristic.move that return MoveModifier and TypeMethodDescriptionCompositeMove.buildMove(Move_... moves) AbstractMove.createUndoMove(ScoreDirector<Solution_> scoreDirector) Called before the move is done, so the move can be evaluated and then be undone without resulting into a permanent change in the solution.AbstractMove.doMove(ScoreDirector<Solution_> scoreDirector) AbstractSimplifiedMove.doMove(ScoreDirector<Solution_> scoreDirector) AbstractUndoMove.doMove(ScoreDirector<Solution_> scoreDirector) CompositeMove.doMove(ScoreDirector<Solution_> scoreDirector) 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 originScoreDirectorto another destinationScoreDirectorwhich is usually on anotherThreador JVM.NoChangeMove.rebase(ScoreDirector<Solution_> destinationScoreDirector) Methods in ai.timefold.solver.core.impl.heuristic.move with parameters of type MoveConstructors in ai.timefold.solver.core.impl.heuristic.move with parameters of type Move -
Uses of Move in ai.timefold.solver.core.impl.heuristic.selector.common.iterator
Classes in ai.timefold.solver.core.impl.heuristic.selector.common.iterator with type parameters of type MoveModifier and TypeClassDescriptionclassAbstractOriginalChangeIterator<Solution_,Move_ extends Move<Solution_>> classAbstractOriginalSwapIterator<Solution_,Move_ extends Move<Solution_>, SubSelection_> classAbstractRandomChangeIterator<Solution_,Move_ extends Move<Solution_>> classAbstractRandomSwapIterator<Solution_,Move_ extends Move<Solution_>, SubSelection_> -
Uses of Move in ai.timefold.solver.core.impl.heuristic.selector.move.composite
Methods in ai.timefold.solver.core.impl.heuristic.selector.move.composite that return MoveModifier and TypeMethodDescriptionCartesianProductMoveSelector.OriginalCartesianProductMoveIterator.createUpcomingSelection()CartesianProductMoveSelector.RandomCartesianProductMoveIterator.next()Methods in ai.timefold.solver.core.impl.heuristic.selector.move.composite that return types with arguments of type Move -
Uses of Move in ai.timefold.solver.core.impl.heuristic.selector.move.decorator
Fields in ai.timefold.solver.core.impl.heuristic.selector.move.decorator with type parameters of type MoveModifier and TypeFieldDescriptionAbstractCachingMoveSelector.cachedMoveListprotected NavigableMap<Double,Move<Solution_>> ProbabilityMoveSelector.cachedMoveMapprotected final SelectionProbabilityWeightFactory<Solution_,Move<Solution_>> ProbabilityMoveSelector.probabilityWeightFactoryprotected final SelectionSorter<Solution_,Move<Solution_>> SortingMoveSelector.sorterMethods in ai.timefold.solver.core.impl.heuristic.selector.move.decorator that return types with arguments of type MoveModifier and TypeMethodDescriptionCachingMoveSelector.iterator()FilteringMoveSelector.iterator()ProbabilityMoveSelector.iterator()SelectedCountLimitMoveSelector.iterator()ShufflingMoveSelector.iterator()SortingMoveSelector.iterator()Method parameters in ai.timefold.solver.core.impl.heuristic.selector.move.decorator with type arguments of type MoveModifier and TypeMethodDescriptionstatic <Solution_>
FilteringMoveSelector<Solution_>FilteringMoveSelector.of(MoveSelector<Solution_> moveSelector, SelectionFilter<Solution_, Move<Solution_>> filter) Constructor parameters in ai.timefold.solver.core.impl.heuristic.selector.move.decorator with type arguments of type MoveModifierConstructorDescriptionProbabilityMoveSelector(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 ai.timefold.solver.core.impl.heuristic.selector.move.factory
Classes in ai.timefold.solver.core.impl.heuristic.selector.move.factory with type parameters of type MoveModifier and TypeInterfaceDescriptioninterfaceMoveIteratorFactory<Solution_,Move_ extends Move<Solution_>> Fields in ai.timefold.solver.core.impl.heuristic.selector.move.factory with type parameters of type MoveMethods in ai.timefold.solver.core.impl.heuristic.selector.move.factory that return types with arguments of type MoveModifier and TypeMethodDescriptionMoveListFactory.createMoveList(Solution_ solution) When it is called depends on the configuredSelectionCacheType.MoveIteratorFactoryToMoveSelectorBridge.iterator()MoveListFactoryToMoveSelectorBridge.iterator() -
Uses of Move in ai.timefold.solver.core.impl.heuristic.selector.move.generic
Classes in ai.timefold.solver.core.impl.heuristic.selector.move.generic that implement MoveModifier and TypeClassDescriptionclassChangeMove<Solution_>classPillarChangeMove<Solution_>ThisMoveis not cacheable.classPillarSwapMove<Solution_>ThisMoveis not cacheable.final classRuinRecreateMove<Solution_>final classRuinRecreateUndoMove<Solution_>classSwapMove<Solution_>Methods in ai.timefold.solver.core.impl.heuristic.selector.move.generic that return MoveModifier and TypeMethodDescriptionRuinRecreateMove.createUndoMove(ScoreDirector<Solution_> scoreDirector) RuinRecreateMove.rebase(ScoreDirector<Solution_> destinationScoreDirector) Methods in ai.timefold.solver.core.impl.heuristic.selector.move.generic that return types with arguments of type Move -
Uses of Move in ai.timefold.solver.core.impl.heuristic.selector.move.generic.chained
Classes in ai.timefold.solver.core.impl.heuristic.selector.move.generic.chained that implement MoveModifier and TypeClassDescriptionclassChainedChangeMove<Solution_>classChainedSwapMove<Solution_>classKOptMove<Solution_>classSubChainChangeMove<Solution_>classSubChainReversingChangeMove<Solution_>classSubChainReversingSwapMove<Solution_>ThisMoveis not cacheable.classSubChainSwapMove<Solution_>ThisMoveis not cacheable.classTailChainSwapMove<Solution_>Also known as a 2-opt move.Methods in ai.timefold.solver.core.impl.heuristic.selector.move.generic.chained that return types with arguments of type Move -
Uses of Move in ai.timefold.solver.core.impl.heuristic.selector.move.generic.list
Classes in ai.timefold.solver.core.impl.heuristic.selector.move.generic.list that implement MoveModifier and TypeClassDescriptionfinal classListAssignMove<Solution_>classListChangeMove<Solution_>Moves an element of alist variable.classListSwapMove<Solution_>Swaps two elements of alist variable.classListUnassignMove<Solution_>classSubListChangeMove<Solution_>classSubListSwapMove<Solution_>classSubListUnassignMove<Solution_>Methods in ai.timefold.solver.core.impl.heuristic.selector.move.generic.list that return MoveModifier and TypeMethodDescriptionOriginalListChangeIterator.createUpcomingSelection()OriginalListSwapIterator.createUpcomingSelection()RandomListChangeIterator.createUpcomingSelection()RandomListSwapIterator.createUpcomingSelection()ListUnassignMove.rebase(ScoreDirector<Solution_> destinationScoreDirector) Methods in ai.timefold.solver.core.impl.heuristic.selector.move.generic.list that return types with arguments of type Move -
Uses of Move in ai.timefold.solver.core.impl.heuristic.selector.move.generic.list.kopt
Classes in ai.timefold.solver.core.impl.heuristic.selector.move.generic.list.kopt that implement MoveModifier and TypeClassDescriptionfinal classKOptListMove<Solution_>final classTwoOptListMove<Solution_>A 2-opt move for list variables, which takes two edges and swap their endpoints.final classUndoKOptListMove<Solution_>A K-Opt move that does the list rotation before performing the flips instead of after, allowing it to act as the undo move of a K-Opt move that does the rotation after the flips.Methods in ai.timefold.solver.core.impl.heuristic.selector.move.generic.list.kopt that return MoveModifier and TypeMethodDescriptionKOptListMove.createUndoMove(ScoreDirector<Solution_> scoreDirector) -
Uses of Move in ai.timefold.solver.core.impl.heuristic.selector.move.generic.list.ruin
Classes in ai.timefold.solver.core.impl.heuristic.selector.move.generic.list.ruin that implement MoveModifier and TypeClassDescriptionfinal classListRuinRecreateMove<Solution_>final classListRuinRecreateUndoMove<Solution_>Methods in ai.timefold.solver.core.impl.heuristic.selector.move.generic.list.ruin that return MoveModifier and TypeMethodDescriptionListRuinRecreateMove.createUndoMove(ScoreDirector<Solution_> scoreDirector) ListRuinRecreateMove.rebase(ScoreDirector<Solution_> destinationScoreDirector) -
Uses of Move in ai.timefold.solver.core.impl.localsearch.scope
Methods in ai.timefold.solver.core.impl.localsearch.scope that return MoveModifier and TypeMethodDescriptionLocalSearchStepScope.getStep()LocalSearchStepScope.getUndoStep()Methods in ai.timefold.solver.core.impl.localsearch.scope with parameters of type MoveModifier and TypeMethodDescriptionvoidvoidLocalSearchStepScope.setUndoStep(Move<Solution_> undoStep) Constructors in ai.timefold.solver.core.impl.localsearch.scope with parameters of type MoveModifierConstructorDescriptionLocalSearchMoveScope(LocalSearchStepScope<Solution_> stepScope, int moveIndex, Move<Solution_> move) -
Uses of Move in ai.timefold.solver.core.impl.phase.scope
Fields in ai.timefold.solver.core.impl.phase.scope declared as MoveMethods in ai.timefold.solver.core.impl.phase.scope that return MoveMethods in ai.timefold.solver.core.impl.phase.scope with parameters of type MoveModifier and TypeMethodDescriptionvoidAbstractPhaseScope.addMoveEvaluationCount(Move<?> move, long count) voidAbstractPhaseScope.addMoveEvaluationCountPerType(Move<?> move, long count) Constructors in ai.timefold.solver.core.impl.phase.scope with parameters of type MoveModifierConstructorDescriptionprotectedAbstractMoveScope(AbstractStepScope<Solution_> stepScope, int moveIndex, Move<Solution_> move) -
Uses of Move in ai.timefold.solver.core.impl.score.director
Methods in ai.timefold.solver.core.impl.score.director with parameters of type MoveModifier and TypeMethodDescriptionvoidAbstractScoreDirector.assertExpectedUndoMoveScore(Move<Solution_> move, Score_ beforeMoveScore, SolverLifecyclePoint executionPoint) voidInnerScoreDirector.assertExpectedUndoMoveScore(Move<Solution_> move, Score_ beforeMoveScore, SolverLifecyclePoint executionPoint) Asserts that if theScoreis calculated for the currentworking solutionin the currentScoreDirector(with incremental calculation residue), it is equal to the parameterbeforeMoveScore.AbstractScoreDirector.doAndProcessMove(Move<Solution_> move, boolean assertMoveScoreFromScratch, Consumer<Score_> moveProcessor) default Score_InnerScoreDirector.doAndProcessMove(Move<Solution_> move, boolean assertMoveScoreFromScratch) InnerScoreDirector.doAndProcessMove(Move<Solution_> move, boolean assertMoveScoreFromScratch, Consumer<Score_> moveProcessor)