Class LocalSearchAcceptorConfig

java.lang.Object
ai.timefold.solver.core.config.AbstractConfig<LocalSearchAcceptorConfig>
ai.timefold.solver.core.config.localsearch.decider.acceptor.LocalSearchAcceptorConfig

public class LocalSearchAcceptorConfig extends AbstractConfig<LocalSearchAcceptorConfig>
  • Field Details

    • entityTabuSize

      protected Integer entityTabuSize
    • entityTabuRatio

      protected Double entityTabuRatio
    • fadingEntityTabuSize

      protected Integer fadingEntityTabuSize
    • fadingEntityTabuRatio

      protected Double fadingEntityTabuRatio
    • valueTabuSize

      protected Integer valueTabuSize
    • valueTabuRatio

      protected Double valueTabuRatio
    • fadingValueTabuSize

      protected Integer fadingValueTabuSize
    • fadingValueTabuRatio

      protected Double fadingValueTabuRatio
    • moveTabuSize

      protected Integer moveTabuSize
    • fadingMoveTabuSize

      protected Integer fadingMoveTabuSize
    • undoMoveTabuSize

      @Deprecated(forRemoval=true, since="1.16.0") protected Integer undoMoveTabuSize
      Deprecated, for removal: This API element is subject to removal in a future version.
      Deprecated, no longer has any effect.
    • fadingUndoMoveTabuSize

      @Deprecated(forRemoval=true, since="1.16.0") protected Integer fadingUndoMoveTabuSize
      Deprecated, for removal: This API element is subject to removal in a future version.
      Deprecated, no longer has any effect.
    • simulatedAnnealingStartingTemperature

      protected String simulatedAnnealingStartingTemperature
    • lateAcceptanceSize

      protected Integer lateAcceptanceSize
    • greatDelugeWaterLevelIncrementScore

      protected String greatDelugeWaterLevelIncrementScore
    • greatDelugeWaterLevelIncrementRatio

      protected Double greatDelugeWaterLevelIncrementRatio
    • stepCountingHillClimbingSize

      protected Integer stepCountingHillClimbingSize
    • stepCountingHillClimbingType

      protected StepCountingHillClimbingType stepCountingHillClimbingType
  • Constructor Details

    • LocalSearchAcceptorConfig

      public LocalSearchAcceptorConfig()
  • Method Details

    • getAcceptorTypeList

      public @Nullable List<AcceptorType> getAcceptorTypeList()
    • setAcceptorTypeList

      public void setAcceptorTypeList(@Nullable List<AcceptorType> acceptorTypeList)
    • getEntityTabuSize

      public @Nullable Integer getEntityTabuSize()
    • setEntityTabuSize

      public void setEntityTabuSize(@Nullable Integer entityTabuSize)
    • getEntityTabuRatio

      public @Nullable Double getEntityTabuRatio()
    • setEntityTabuRatio

      public void setEntityTabuRatio(@Nullable Double entityTabuRatio)
    • getFadingEntityTabuSize

      public @Nullable Integer getFadingEntityTabuSize()
    • setFadingEntityTabuSize

      public void setFadingEntityTabuSize(@Nullable Integer fadingEntityTabuSize)
    • getFadingEntityTabuRatio

      public @Nullable Double getFadingEntityTabuRatio()
    • setFadingEntityTabuRatio

      public void setFadingEntityTabuRatio(@Nullable Double fadingEntityTabuRatio)
    • getValueTabuSize

      public @Nullable Integer getValueTabuSize()
    • setValueTabuSize

      public void setValueTabuSize(@Nullable Integer valueTabuSize)
    • getValueTabuRatio

      @Deprecated(forRemoval=true, since="1.5.0") public Double getValueTabuRatio()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Deprecated on account of never having worked in the first place.
    • setValueTabuRatio

      @Deprecated(forRemoval=true, since="1.5.0") public void setValueTabuRatio(Double valueTabuRatio)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Deprecated on account of never having worked in the first place.
    • getFadingValueTabuSize

      public @Nullable Integer getFadingValueTabuSize()
    • setFadingValueTabuSize

      public void setFadingValueTabuSize(@Nullable Integer fadingValueTabuSize)
    • getFadingValueTabuRatio

      @Deprecated(forRemoval=true, since="1.5.0") public Double getFadingValueTabuRatio()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Deprecated on account of never having worked in the first place.
    • setFadingValueTabuRatio

      @Deprecated(forRemoval=true, since="1.5.0") public void setFadingValueTabuRatio(Double fadingValueTabuRatio)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Deprecated on account of never having worked in the first place.
    • getMoveTabuSize

      public @Nullable Integer getMoveTabuSize()
    • setMoveTabuSize

      public void setMoveTabuSize(@Nullable Integer moveTabuSize)
    • getFadingMoveTabuSize

      public @Nullable Integer getFadingMoveTabuSize()
    • setFadingMoveTabuSize

      public void setFadingMoveTabuSize(@Nullable Integer fadingMoveTabuSize)
    • getUndoMoveTabuSize

      @Deprecated(forRemoval=true, since="1.16.0") public Integer getUndoMoveTabuSize()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Deprecated, no longer has any effect.
    • setUndoMoveTabuSize

      @Deprecated(forRemoval=true, since="1.16.0") public void setUndoMoveTabuSize(Integer undoMoveTabuSize)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Deprecated, no longer has any effect.
    • getFadingUndoMoveTabuSize

      @Deprecated(forRemoval=true, since="1.16.0") public Integer getFadingUndoMoveTabuSize()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Deprecated, no longer has any effect.
    • setFadingUndoMoveTabuSize

      @Deprecated(forRemoval=true, since="1.16.0") public void setFadingUndoMoveTabuSize(Integer fadingUndoMoveTabuSize)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Deprecated, no longer has any effect.
    • getSimulatedAnnealingStartingTemperature

      public @Nullable String getSimulatedAnnealingStartingTemperature()
    • setSimulatedAnnealingStartingTemperature

      public void setSimulatedAnnealingStartingTemperature(@Nullable String simulatedAnnealingStartingTemperature)
    • getLateAcceptanceSize

      public @Nullable Integer getLateAcceptanceSize()
    • setLateAcceptanceSize

      public void setLateAcceptanceSize(@Nullable Integer lateAcceptanceSize)
    • getGreatDelugeWaterLevelIncrementScore

      public @Nullable String getGreatDelugeWaterLevelIncrementScore()
    • setGreatDelugeWaterLevelIncrementScore

      public void setGreatDelugeWaterLevelIncrementScore(@Nullable String greatDelugeWaterLevelIncrementScore)
    • getGreatDelugeWaterLevelIncrementRatio

      public @Nullable Double getGreatDelugeWaterLevelIncrementRatio()
    • setGreatDelugeWaterLevelIncrementRatio

      public void setGreatDelugeWaterLevelIncrementRatio(@Nullable Double greatDelugeWaterLevelIncrementRatio)
    • getStepCountingHillClimbingSize

      public @Nullable Integer getStepCountingHillClimbingSize()
    • setStepCountingHillClimbingSize

      public void setStepCountingHillClimbingSize(@Nullable Integer stepCountingHillClimbingSize)
    • getStepCountingHillClimbingType

      public @Nullable StepCountingHillClimbingType getStepCountingHillClimbingType()
    • setStepCountingHillClimbingType

      public void setStepCountingHillClimbingType(@Nullable StepCountingHillClimbingType stepCountingHillClimbingType)
    • withAcceptorTypeList

      public @NonNull LocalSearchAcceptorConfig withAcceptorTypeList(@NonNull List<AcceptorType> acceptorTypeList)
    • withEntityTabuSize

      public @NonNull LocalSearchAcceptorConfig withEntityTabuSize(@NonNull Integer entityTabuSize)
    • withEntityTabuRatio

      public @NonNull LocalSearchAcceptorConfig withEntityTabuRatio(@NonNull Double entityTabuRatio)
    • withFadingEntityTabuSize

      public @NonNull LocalSearchAcceptorConfig withFadingEntityTabuSize(@NonNull Integer fadingEntityTabuSize)
    • withFadingEntityTabuRatio

      public @NonNull LocalSearchAcceptorConfig withFadingEntityTabuRatio(@NonNull Double fadingEntityTabuRatio)
    • withValueTabuSize

      public @NonNull LocalSearchAcceptorConfig withValueTabuSize(@NonNull Integer valueTabuSize)
    • withValueTabuRatio

      public @NonNull LocalSearchAcceptorConfig withValueTabuRatio(@NonNull Double valueTabuRatio)
    • withFadingValueTabuSize

      public @NonNull LocalSearchAcceptorConfig withFadingValueTabuSize(@NonNull Integer fadingValueTabuSize)
    • withFadingValueTabuRatio

      public @NonNull LocalSearchAcceptorConfig withFadingValueTabuRatio(@NonNull Double fadingValueTabuRatio)
    • withMoveTabuSize

      public @NonNull LocalSearchAcceptorConfig withMoveTabuSize(@NonNull Integer moveTabuSize)
    • withFadingMoveTabuSize

      public @NonNull LocalSearchAcceptorConfig withFadingMoveTabuSize(@NonNull Integer fadingMoveTabuSize)
    • withUndoMoveTabuSize

      @Deprecated(forRemoval=true, since="1.16.0") public LocalSearchAcceptorConfig withUndoMoveTabuSize(Integer undoMoveTabuSize)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Deprecated, no longer has any effect.
    • withFadingUndoMoveTabuSize

      @Deprecated(forRemoval=true, since="1.16.0") public LocalSearchAcceptorConfig withFadingUndoMoveTabuSize(Integer fadingUndoMoveTabuSize)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Deprecated, no longer has any effect.
    • withSimulatedAnnealingStartingTemperature

      public @NonNull LocalSearchAcceptorConfig withSimulatedAnnealingStartingTemperature(@NonNull String simulatedAnnealingStartingTemperature)
    • withLateAcceptanceSize

      public @NonNull LocalSearchAcceptorConfig withLateAcceptanceSize(@NonNull Integer lateAcceptanceSize)
    • withStepCountingHillClimbingSize

      public @NonNull LocalSearchAcceptorConfig withStepCountingHillClimbingSize(@NonNull Integer stepCountingHillClimbingSize)
    • withStepCountingHillClimbingType

      public @NonNull LocalSearchAcceptorConfig withStepCountingHillClimbingType(@NonNull StepCountingHillClimbingType stepCountingHillClimbingType)
    • inherit

      public @NonNull LocalSearchAcceptorConfig inherit(@NonNull LocalSearchAcceptorConfig inheritedConfig)
      Description copied from class: AbstractConfig
      Inherits each property of the inheritedConfig unless that property (or a semantic alternative) is defined by this instance (which overwrites the inherited behaviour).

      After the inheritance, if a property on this AbstractConfig composition is replaced, it should not affect the inherited composition instance.

      Specified by:
      inherit in class AbstractConfig<LocalSearchAcceptorConfig>
      Returns:
      this
    • copyConfig

      public @NonNull LocalSearchAcceptorConfig copyConfig()
      Description copied from class: AbstractConfig
      Typically implemented by constructing a new instance and calling AbstractConfig.inherit(AbstractConfig) on it.
      Specified by:
      copyConfig in class AbstractConfig<LocalSearchAcceptorConfig>
      Returns:
      new instance
    • visitReferencedClasses

      public void visitReferencedClasses(@NonNull Consumer<Class<?>> classVisitor)
      Description copied from class: AbstractConfig
      Call the class visitor on each (possibly null) Class instance provided to this config by the user (including those provided in child configs). Required to create the bean factory in Quarkus.
      Specified by:
      visitReferencedClasses in class AbstractConfig<LocalSearchAcceptorConfig>
      Parameters:
      classVisitor - The visitor of classes. Can accept null instances of Class.