Record Class DefaultMoveStreamFactory.ListVariableNodeSharingSupportFunctions<Solution_,Entity_,Value_>
java.lang.Object
java.lang.Record
ai.timefold.solver.core.impl.neighborhood.stream.DefaultMoveStreamFactory.ListVariableNodeSharingSupportFunctions<Solution_,Entity_,Value_>
- Enclosing class:
- DefaultMoveStreamFactory<Solution_>
public static record DefaultMoveStreamFactory.ListVariableNodeSharingSupportFunctions<Solution_,Entity_,Value_> (PlanningListVariableMetaModel<Solution_,Entity_,Value_> variableMetaModel, UniNeighborhoodsPredicate<Solution_,Value_> unpinnedValueFilter, UniNeighborhoodsPredicate<Solution_,Value_> assignedValueOrNullFilter, UniNeighborhoodsPredicate<Solution_,Value_> assignedValueFilter, BiNeighborhoodsPredicate<Solution_,Entity_,Value_> valueInRangeFilter, BiNeighborhoodsMapper<Solution_,Entity_,Value_,ElementPosition> toElementPositionMapper, BiNeighborhoodsMapper<Solution_,Entity_,Value_,PositionInList> toPositionInListMapper)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionListVariableNodeSharingSupportFunctions(PlanningListVariableMetaModel<Solution_, Entity_, Value_> variableMetaModel) ListVariableNodeSharingSupportFunctions(PlanningListVariableMetaModel<Solution_, Entity_, Value_> variableMetaModel, UniNeighborhoodsPredicate<Solution_, Value_> unpinnedValueFilter, UniNeighborhoodsPredicate<Solution_, Value_> assignedValueOrNullFilter, UniNeighborhoodsPredicate<Solution_, Value_> assignedValueFilter, BiNeighborhoodsPredicate<Solution_, Entity_, Value_> valueInRangeFilter, BiNeighborhoodsMapper<Solution_, Entity_, Value_, ElementPosition> toElementPositionMapper, BiNeighborhoodsMapper<Solution_, Entity_, Value_, PositionInList> toPositionInListMapper) Creates an instance of aListVariableNodeSharingSupportFunctionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theassignedValueFilterrecord component.Returns the value of theassignedValueOrNullFilterrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thetoElementPositionMapperrecord component.Returns the value of thetoPositionInListMapperrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theunpinnedValueFilterrecord component.Returns the value of thevalueInRangeFilterrecord component.Returns the value of thevariableMetaModelrecord component.
-
Constructor Details
-
ListVariableNodeSharingSupportFunctions
public ListVariableNodeSharingSupportFunctions(PlanningListVariableMetaModel<Solution_, Entity_, Value_> variableMetaModel) -
ListVariableNodeSharingSupportFunctions
public ListVariableNodeSharingSupportFunctions(PlanningListVariableMetaModel<Solution_, Entity_, Value_> variableMetaModel, UniNeighborhoodsPredicate<Solution_, Value_> unpinnedValueFilter, UniNeighborhoodsPredicate<Solution_, Value_> assignedValueOrNullFilter, UniNeighborhoodsPredicate<Solution_, Value_> assignedValueFilter, BiNeighborhoodsPredicate<Solution_, Entity_, Value_> valueInRangeFilter, BiNeighborhoodsMapper<Solution_, Entity_, Value_, ElementPosition> toElementPositionMapper, BiNeighborhoodsMapper<Solution_, Entity_, Value_, PositionInList> toPositionInListMapper) Creates an instance of aListVariableNodeSharingSupportFunctionsrecord class.- Parameters:
variableMetaModel- the value for thevariableMetaModelrecord componentunpinnedValueFilter- the value for theunpinnedValueFilterrecord componentassignedValueOrNullFilter- the value for theassignedValueOrNullFilterrecord componentassignedValueFilter- the value for theassignedValueFilterrecord componentvalueInRangeFilter- the value for thevalueInRangeFilterrecord componenttoElementPositionMapper- the value for thetoElementPositionMapperrecord componenttoPositionInListMapper- the value for thetoPositionInListMapperrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
variableMetaModel
Returns the value of thevariableMetaModelrecord component.- Returns:
- the value of the
variableMetaModelrecord component
-
unpinnedValueFilter
Returns the value of theunpinnedValueFilterrecord component.- Returns:
- the value of the
unpinnedValueFilterrecord component
-
assignedValueOrNullFilter
Returns the value of theassignedValueOrNullFilterrecord component.- Returns:
- the value of the
assignedValueOrNullFilterrecord component
-
assignedValueFilter
Returns the value of theassignedValueFilterrecord component.- Returns:
- the value of the
assignedValueFilterrecord component
-
valueInRangeFilter
Returns the value of thevalueInRangeFilterrecord component.- Returns:
- the value of the
valueInRangeFilterrecord component
-
toElementPositionMapper
Returns the value of thetoElementPositionMapperrecord component.- Returns:
- the value of the
toElementPositionMapperrecord component
-
toPositionInListMapper
Returns the value of thetoPositionInListMapperrecord component.- Returns:
- the value of the
toPositionInListMapperrecord component
-