Deprecated API
Contents
-
ElementDescriptionSupport for custom scores is deprecated and will be removed in OptaPlanner 9.0.Deprecated in favor of
ShadowVariable
(normal shadow variable withCustomShadowVariable.variableListenerClass()
) andPiggybackShadowVariable
(ifCustomShadowVariable.variableListenerRef()
is used).ImplementIBendableScore
instead.ImplementScore
instead.UseBendableScore.hardOrSoftScore(int)
instead.UseBendableScore.hardScore(int)
instead.UseBendableScore.hardScores()
instead.UseBendableScore.softScore(int)
instead.UseBendableScore.softScores()
instead.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.UseBendableBigDecimalScore.hardOrSoftScore(int)
instead.UseBendableBigDecimalScore.hardScore(int)
instead.UseBendableBigDecimalScore.hardScores()
instead.UseBendableBigDecimalScore.softScore(int)
instead.UseBendableBigDecimalScore.softScores()
instead.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.UseBendableLongScore.hardOrSoftScore(int)
instead.UseBendableLongScore.hardScore(int)
instead.UseBendableLongScore.hardScores()
instead.UseBendableLongScore.softScore(int)
instead.UseBendableLongScore.softScores()
instead.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.UseHardMediumSoftScore.hardScore()
instead.UseHardMediumSoftScore.mediumScore()
instead.UseHardMediumSoftScore.softScore()
instead.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.UseHardMediumSoftBigDecimalScore.hardScore()
instead.UseHardMediumSoftBigDecimalScore.mediumScore()
instead.UseHardMediumSoftBigDecimalScore.softScore()
instead.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.UseHardMediumSoftLongScore.hardScore()
instead.UseHardMediumSoftLongScore.mediumScore()
instead.UseHardMediumSoftLongScore.softScore()
instead.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.UseHardSoftScore.hardScore()
instead.UseHardSoftScore.softScore()
instead.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.UseHardSoftBigDecimalScore.hardScore()
instead.UseHardSoftBigDecimalScore.softScore()
instead.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.UseHardSoftLongScore.hardScore()
instead.UseHardSoftLongScore.softScore()
instead.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.UseSimpleScore.score()
instead.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.UseSimpleBigDecimalScore.score()
instead.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.UseSimpleLongScore.score()
instead.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.PreferIndictment.getIndictedObject()
.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.UseIBendableScore.hardLevelsSize()
instead.UseIBendableScore.levelsSize()
instead.UseIBendableScore.softLevelsSize()
instead.UseScore.initScore()
instead.UseSolutionManager
instead.for removal as it is not necessary on the public API.This method is deprecated in favor ofConstraintFactory.forEach(Class)
, which exhibits the same behavior for both nullable and non-nullable planning variables.PreferConstraintFactory.forEachUniquePair(Class)
, which exhibits the same behavior for both nullable and non-nullable planning variables.PreferConstraintFactory.forEachUniquePair(Class, BiJoiner)
, which exhibits the same behavior for both nullable and non-nullable planning variables.PreferConstraintFactory.forEachUniquePair(Class, BiJoiner...)
, which exhibits the same behavior for both nullable and non-nullable planning variables.PreferConstraintFactory.forEachUniquePair(Class, BiJoiner, BiJoiner)
, which exhibits the same behavior for both nullable and non-nullable planning variables.PreferConstraintFactory.forEachUniquePair(Class, BiJoiner, BiJoiner, BiJoiner)
, which exhibits the same behavior for both nullable and non-nullable planning variables.PreferConstraintFactory.forEachUniquePair(Class, BiJoiner, BiJoiner, BiJoiner, BiJoiner)
, which exhibits the same behavior for both nullable and non-nullable planning variables.PreferUniConstraintStream.impact(Score)
and equivalent bi/tri/... overloads.PreferUniConstraintStream.impact(Score)
and equivalent bi/tri/... overloads.PreferUniConstraintStream.penalize(Score)
and equivalent bi/tri/... overloads.PreferUniConstraintStream.penalize(Score)
and equivalent bi/tri/... overloads.PreferUniConstraintStream.penalizeConfigurable()
and equivalent bi/tri/... overloads.PreferUniConstraintStream.penalizeConfigurable()
and equivalent bi/tri/... overloads.PreferUniConstraintStream.reward(Score)
and equivalent bi/tri/... overloads.PreferUniConstraintStream.reward(Score)
and equivalent bi/tri/... overloads.PreferUniConstraintStream.rewardConfigurable()
and equivalent bi/tri/... overloads.PreferUniConstraintStream.rewardConfigurable()
and equivalent bi/tri/... overloads.PreferProblemChange
.PreferSolver.addProblemChanges(List)
.The maximumSubListSize on the SubListChangeMoveSelectorConfig is deprecated and will be removed in a future major version of OptaPlanner. UseSubListSelectorConfig.getMaximumSubListSize()
instead.The minimumSubListSize on the SubListChangeMoveSelectorConfig is deprecated and will be removed in a future major version of OptaPlanner. UseSubListSelectorConfig.getMinimumSubListSize()
instead.The maximumSubListSize on the SubListChangeMoveSelectorConfig is deprecated and will be removed in a future major version of OptaPlanner. UseSubListSelectorConfig.getMaximumSubListSize()
instead.The minimumSubListSize on the SubListChangeMoveSelectorConfig is deprecated and will be removed in a future major version of OptaPlanner. UseSubListSelectorConfig.getMinimumSubListSize()
instead.The maximumSubListSize on the SubListChangeMoveSelectorConfig is deprecated and will be removed in a future major version of OptaPlanner. UseSubListSelectorConfig.setMaximumSubListSize(Integer)
instead.The minimumSubListSize on the SubListChangeMoveSelectorConfig is deprecated and will be removed in a future major version of OptaPlanner. UseSubListSelectorConfig.setMinimumSubListSize(Integer)
instead.The maximumSubListSize on the SubListSwapMoveSelectorConfig is deprecated and will be removed in a future major version of OptaPlanner. UseSubListSelectorConfig.getMaximumSubListSize()
instead.The minimumSubListSize on the SubListSwapMoveSelectorConfig is deprecated and will be removed in a future major version of OptaPlanner. UseSubListSelectorConfig.getMinimumSubListSize()
instead.The maximumSubListSize on the SubListSwapMoveSelectorConfig is deprecated and will be removed in a future major version of OptaPlanner. UseSubListSelectorConfig.getMaximumSubListSize()
instead.The minimumSubListSize on the SubListSwapMoveSelectorConfig is deprecated and will be removed in a future major version of OptaPlanner. UseSubListSelectorConfig.getMinimumSubListSize()
instead.The maximumSubListSize on the SubListSwapMoveSelectorConfig is deprecated and will be removed in a future major version of OptaPlanner. UseSubListSelectorConfig.setMaximumSubListSize(Integer)
instead.The minimumSubListSize on the SubListSwapMoveSelectorConfig is deprecated and will be removed in a future major version of OptaPlanner. UseSubListSelectorConfig.setMinimumSubListSize(Integer)
instead.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.org.optaplanner.core.config.score.director.ScoreDirectorFactoryConfig.kieBaseConfigurationPropertiesScore DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.org.optaplanner.core.config.score.director.ScoreDirectorFactoryConfig.withScoreDrlList(List<String>) Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.A custom terminationClass is deprecated and will be removed in a future major version of OptaPlanner.A custom terminationClass is deprecated and will be removed in a future major version of OptaPlanner.A custom terminationClass is deprecated and will be removed in a future major version of OptaPlanner.UseDefaultSolutionManager
instead.Have the module loaded automatically viaJacksonSolutionFileIO
or useOptaPlannerJacksonModule.createModule()
. This constructor will be hidden in a future major version of OptaPlanner.Prefer JAXB for serialization into XML.Prefer JAXB for serialization into XML.Prefer JAXB for serialization into XML.org.optaplanner.persistence.xstream.api.score.buildin.bendablelong.BendableLongScoreXStreamConverterPrefer JAXB for serialization into XML.Prefer JAXB for serialization into XML.Prefer JAXB for serialization into XML.Prefer JAXB for serialization into XML.Prefer JAXB for serialization into XML.Prefer JAXB for serialization into XML.org.optaplanner.persistence.xstream.api.score.buildin.hardsoftlong.HardSoftLongScoreXStreamConverterPrefer JAXB for serialization into XML.Prefer JAXB for serialization into XML.Prefer JAXB for serialization into XML.Prefer JAXB for serialization into XML.Prefer JAXB for serialization into XML.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.
-
InterfaceDescriptionScore DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Use
SolutionManager
instead.PreferProblemChange
.
-
ClassDescriptionImplement
IBendableScore
instead.ImplementScore
instead.UseDefaultSolutionManager
instead.Prefer JAXB for serialization into XML.Prefer JAXB for serialization into XML.Prefer JAXB for serialization into XML.org.optaplanner.persistence.xstream.api.score.buildin.bendablelong.BendableLongScoreXStreamConverterPrefer JAXB for serialization into XML.Prefer JAXB for serialization into XML.Prefer JAXB for serialization into XML.Prefer JAXB for serialization into XML.Prefer JAXB for serialization into XML.Prefer JAXB for serialization into XML.org.optaplanner.persistence.xstream.api.score.buildin.hardsoftlong.HardSoftLongScoreXStreamConverterPrefer JAXB for serialization into XML.Prefer JAXB for serialization into XML.Prefer JAXB for serialization into XML.Prefer JAXB for serialization into XML.Prefer JAXB for serialization into XML.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.
-
Annotation TypeDescriptionDeprecated in favor of
ShadowVariable
(normal shadow variable withCustomShadowVariable.variableListenerClass()
) andPiggybackShadowVariable
(ifCustomShadowVariable.variableListenerRef()
is used).
-
FieldDescriptionThe maximumSubListSize on the SubListChangeMoveSelectorConfig is deprecated and will be removed in a future major version of OptaPlanner. Use
SubListSelectorConfig.getMaximumSubListSize()
instead.The minimumSubListSize on the SubListChangeMoveSelectorConfig is deprecated and will be removed in a future major version of OptaPlanner. UseSubListSelectorConfig.getMinimumSubListSize()
instead.The maximumSubListSize on the SubListSwapMoveSelectorConfig is deprecated and will be removed in a future major version of OptaPlanner. UseSubListSelectorConfig.getMaximumSubListSize()
instead.The minimumSubListSize on the SubListSwapMoveSelectorConfig is deprecated and will be removed in a future major version of OptaPlanner. UseSubListSelectorConfig.getMinimumSubListSize()
instead.
-
MethodDescriptionSupport for custom scores is deprecated and will be removed in OptaPlanner 9.0.Use
BendableScore.hardOrSoftScore(int)
instead.UseBendableScore.hardScore(int)
instead.UseBendableScore.hardScores()
instead.UseBendableScore.softScore(int)
instead.UseBendableScore.softScores()
instead.UseBendableBigDecimalScore.hardOrSoftScore(int)
instead.UseBendableBigDecimalScore.hardScore(int)
instead.UseBendableBigDecimalScore.hardScores()
instead.UseBendableBigDecimalScore.softScore(int)
instead.UseBendableBigDecimalScore.softScores()
instead.UseBendableLongScore.hardOrSoftScore(int)
instead.UseBendableLongScore.hardScore(int)
instead.UseBendableLongScore.hardScores()
instead.UseBendableLongScore.softScore(int)
instead.UseBendableLongScore.softScores()
instead.UseHardMediumSoftScore.hardScore()
instead.UseHardMediumSoftScore.mediumScore()
instead.UseHardMediumSoftScore.softScore()
instead.UseHardMediumSoftBigDecimalScore.hardScore()
instead.UseHardMediumSoftBigDecimalScore.mediumScore()
instead.UseHardMediumSoftBigDecimalScore.softScore()
instead.UseHardMediumSoftLongScore.hardScore()
instead.UseHardMediumSoftLongScore.mediumScore()
instead.UseHardMediumSoftLongScore.softScore()
instead.UseHardSoftScore.hardScore()
instead.UseHardSoftScore.softScore()
instead.UseHardSoftBigDecimalScore.hardScore()
instead.UseHardSoftBigDecimalScore.softScore()
instead.UseHardSoftLongScore.hardScore()
instead.UseHardSoftLongScore.softScore()
instead.UseSimpleScore.score()
instead.UseSimpleBigDecimalScore.score()
instead.UseSimpleLongScore.score()
instead.PreferIndictment.getIndictedObject()
.UseIBendableScore.hardLevelsSize()
instead.UseIBendableScore.levelsSize()
instead.UseIBendableScore.softLevelsSize()
instead.UseScore.initScore()
instead.for removal as it is not necessary on the public API.This method is deprecated in favor ofConstraintFactory.forEach(Class)
, which exhibits the same behavior for both nullable and non-nullable planning variables.PreferConstraintFactory.forEachUniquePair(Class)
, which exhibits the same behavior for both nullable and non-nullable planning variables.PreferConstraintFactory.forEachUniquePair(Class, BiJoiner)
, which exhibits the same behavior for both nullable and non-nullable planning variables.PreferConstraintFactory.forEachUniquePair(Class, BiJoiner...)
, which exhibits the same behavior for both nullable and non-nullable planning variables.PreferConstraintFactory.forEachUniquePair(Class, BiJoiner, BiJoiner)
, which exhibits the same behavior for both nullable and non-nullable planning variables.PreferConstraintFactory.forEachUniquePair(Class, BiJoiner, BiJoiner, BiJoiner)
, which exhibits the same behavior for both nullable and non-nullable planning variables.PreferConstraintFactory.forEachUniquePair(Class, BiJoiner, BiJoiner, BiJoiner, BiJoiner)
, which exhibits the same behavior for both nullable and non-nullable planning variables.PreferUniConstraintStream.impact(Score)
and equivalent bi/tri/... overloads.PreferUniConstraintStream.impact(Score)
and equivalent bi/tri/... overloads.PreferUniConstraintStream.penalize(Score)
and equivalent bi/tri/... overloads.PreferUniConstraintStream.penalize(Score)
and equivalent bi/tri/... overloads.PreferUniConstraintStream.penalizeConfigurable()
and equivalent bi/tri/... overloads.PreferUniConstraintStream.penalizeConfigurable()
and equivalent bi/tri/... overloads.PreferUniConstraintStream.reward(Score)
and equivalent bi/tri/... overloads.PreferUniConstraintStream.reward(Score)
and equivalent bi/tri/... overloads.PreferUniConstraintStream.rewardConfigurable()
and equivalent bi/tri/... overloads.PreferUniConstraintStream.rewardConfigurable()
and equivalent bi/tri/... overloads.PreferSolver.addProblemChanges(List)
.The maximumSubListSize on the SubListChangeMoveSelectorConfig is deprecated and will be removed in a future major version of OptaPlanner. UseSubListSelectorConfig.getMaximumSubListSize()
instead.The minimumSubListSize on the SubListChangeMoveSelectorConfig is deprecated and will be removed in a future major version of OptaPlanner. UseSubListSelectorConfig.getMinimumSubListSize()
instead.The maximumSubListSize on the SubListChangeMoveSelectorConfig is deprecated and will be removed in a future major version of OptaPlanner. UseSubListSelectorConfig.setMaximumSubListSize(Integer)
instead.The minimumSubListSize on the SubListChangeMoveSelectorConfig is deprecated and will be removed in a future major version of OptaPlanner. UseSubListSelectorConfig.setMinimumSubListSize(Integer)
instead.The maximumSubListSize on the SubListSwapMoveSelectorConfig is deprecated and will be removed in a future major version of OptaPlanner. UseSubListSelectorConfig.getMaximumSubListSize()
instead.The minimumSubListSize on the SubListSwapMoveSelectorConfig is deprecated and will be removed in a future major version of OptaPlanner. UseSubListSelectorConfig.getMinimumSubListSize()
instead.The maximumSubListSize on the SubListSwapMoveSelectorConfig is deprecated and will be removed in a future major version of OptaPlanner. UseSubListSelectorConfig.setMaximumSubListSize(Integer)
instead.The minimumSubListSize on the SubListSwapMoveSelectorConfig is deprecated and will be removed in a future major version of OptaPlanner. UseSubListSelectorConfig.setMinimumSubListSize(Integer)
instead.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.org.optaplanner.core.config.score.director.ScoreDirectorFactoryConfig.withScoreDrlList(List<String>) Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.A custom terminationClass is deprecated and will be removed in a future major version of OptaPlanner.A custom terminationClass is deprecated and will be removed in a future major version of OptaPlanner.A custom terminationClass is deprecated and will be removed in a future major version of OptaPlanner.
-
ConstructorDescriptionHave the module loaded automatically via
JacksonSolutionFileIO
or useOptaPlannerJacksonModule.createModule()
. This constructor will be hidden in a future major version of OptaPlanner.
-
Annotation Type ElementDescriptionSupport for custom scores is deprecated and will be removed in OptaPlanner 9.0.