Class AbstractMove<Solution_>
java.lang.Object
ai.timefold.solver.core.impl.move.streams.generic.move.AbstractMove<Solution_>
- All Implemented Interfaces:
Move<Solution_>
- Direct Known Subclasses:
ChangeMove,ListAssignMove,ListChangeMove,ListUnassignMove
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringdescribe()Describes the move type for statistical purposes.protected static <Solution_>
ListVariableDescriptor<Solution_>getVariableDescriptor(PlanningListVariableMetaModel<Solution_, ?, ?> variableMetaModel) protected static <Solution_>
GenuineVariableDescriptor<Solution_>getVariableDescriptor(PlanningVariableMetaModel<Solution_, ?, ?> variableMetaModel) protected static <Solution_>
VariableDescriptor<Solution_>getVariableDescriptor(VariableMetaModel<Solution_, ?, ?> variableMetaModel) protected List<VariableMetaModel<Solution_,?, ?>> static <E> List<E>rebaseList(List<E> externalObjectList, ScoreDirector<?> destinationScoreDirector) static <E> Set<E>rebaseSet(Set<E> externalObjectSet, ScoreDirector<?> destinationScoreDirector) abstract StringtoString()The solver will make sure to only call this when the move is actually printed out during debug logging.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ai.timefold.solver.core.preview.api.move.Move
execute, extractPlanningEntities, extractPlanningValues, rebase
-
Constructor Details
-
AbstractMove
public AbstractMove()
-
-
Method Details
-
describe
Description copied from interface:MoveDescribes the move type for statistical purposes. For example, a move which changes a variable "computer" on a class "Process" could be described as "ChangeMove(Process.computer)".The format is not formalized. Never parse the
Stringreturned by this method. -
toString
Description copied from interface:MoveThe solver will make sure to only call this when the move is actually printed out during debug logging. -
getVariableMetaModels
-
getVariableDescriptor
protected static <Solution_> VariableDescriptor<Solution_> getVariableDescriptor(VariableMetaModel<Solution_, ?, ?> variableMetaModel) -
getVariableDescriptor
protected static <Solution_> GenuineVariableDescriptor<Solution_> getVariableDescriptor(PlanningVariableMetaModel<Solution_, ?, ?> variableMetaModel) -
getVariableDescriptor
protected static <Solution_> ListVariableDescriptor<Solution_> getVariableDescriptor(PlanningListVariableMetaModel<Solution_, ?, ?> variableMetaModel) -
rebaseList
public static <E> List<E> rebaseList(List<E> externalObjectList, ScoreDirector<?> destinationScoreDirector) -
rebaseSet
public static <E> Set<E> rebaseSet(Set<E> externalObjectSet, ScoreDirector<?> destinationScoreDirector)
-