public abstract class AbstractBendableScore<S extends FeasibilityScore<S>> extends AbstractScore<S>
Score types.
Subclasses must be immutable.
BendableScore,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected static String |
HARD_LABEL |
protected static String[] |
LEVEL_SUFFIXES |
protected static String |
SOFT_LABEL |
INIT_LABEL, initScore| Modifier | Constructor and Description |
|---|---|
protected |
AbstractBendableScore(int initScore) |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
getHardLevelsSize() |
abstract int |
getLevelsSize() |
abstract int |
getSoftLevelsSize() |
protected static String[][] |
parseBendableScoreTokens(Class<? extends Score> scoreClass,
String scoreString) |
buildScorePattern, getInitPrefix, getInitScore, isCompatibleArithmeticArgument, isSolutionInitialized, parseInitScore, parseLevelAsBigDecimal, parseLevelAsDouble, parseLevelAsInt, parseLevelAsLong, parseScoreTokensclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, divide, multiply, negate, power, subtract, toInitializedScore, toLevelNumberscompareToprotected static final String HARD_LABEL
protected static final String SOFT_LABEL
protected static final String[] LEVEL_SUFFIXES
protected static String[][] parseBendableScoreTokens(Class<? extends Score> scoreClass, String scoreString)
public abstract int getHardLevelsSize()
public abstract int getSoftLevelsSize()
public abstract int getLevelsSize()
getHardLevelsSize() + getSoftLevelsSize()Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.