Class AbstractMove<Solution_>
java.lang.Object
ai.timefold.solver.core.impl.move.AbstractMove<Solution_>
- All Implemented Interfaces:
Move<Solution_>
- Direct Known Subclasses:
ChangeMove,ListAssignMove,ListChangeMove,ListSwapMove,ListUnassignMove,SwapMove
-
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) abstract StringtoString()abstract List<? extends GenuineVariableMetaModel<Solution_,?, ?>> 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, getPlanningEntities, getPlanningValues, 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, but it is recommended to stick to ASCII, avoiding whitespace and special characters. Never parse the
Stringreturned by this method, it is only intended to be used by the solver. -
toString
-
variableMetaModels
-
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)
-