Class AbstractBendableScore<Score_ extends AbstractBendableScore<Score_>>

java.lang.Object
org.optaplanner.core.api.score.AbstractScore<Score_>
org.optaplanner.core.api.score.AbstractBendableScore<Score_>
All Implemented Interfaces:
Serializable, Comparable<Score_>, IBendableScore<Score_>, Score<Score_>

@Deprecated(forRemoval=true) public abstract class AbstractBendableScore<Score_ extends AbstractBendableScore<Score_>> extends AbstractScore<Score_> implements IBendableScore<Score_>
Deprecated, for removal: This API element is subject to removal in a future version.
Implement IBendableScore instead.
Abstract superclass for bendable Score types.

Subclasses must be immutable.

See Also:
  • Field Details

    • HARD_LABEL

      protected static final String HARD_LABEL
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • SOFT_LABEL

      protected static final String SOFT_LABEL
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • LEVEL_SUFFIXES

      protected static final String[] LEVEL_SUFFIXES
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • AbstractBendableScore

      protected AbstractBendableScore(int initScore)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Parameters:
      initScore - see Score.initScore()
  • Method Details

    • parseBendableScoreTokens

      protected static String[][] parseBendableScoreTokens(Class<? extends AbstractBendableScore<?>> scoreClass, String scoreString)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • buildBendableShortString

      protected String buildBendableShortString(Predicate<Number> notZero)
      Deprecated, for removal: This API element is subject to removal in a future version.