org.drools.planner.core.score
Class AbstractScore<S extends Score>
java.lang.Object
org.drools.planner.core.score.AbstractScore<S>
- All Implemented Interfaces:
- Serializable, Comparable<S>, Score<S>
- Direct Known Subclasses:
- BendableScore, HardMediumSoftScore, HardSoftBigDecimalScore, HardSoftDoubleScore, HardSoftLongScore, HardSoftScore, SimpleBigDecimalScore, SimpleDoubleScore, SimpleLongScore, SimpleScore
public abstract class AbstractScore<S extends Score>
- extends Object
- implements Score<S>, Serializable
Abstract superclass for Score
.
Subclasses must be immutable.
- See Also:
Score
,
HardSoftScore
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractScore
public AbstractScore()
parseLevelStrings
public static String[] parseLevelStrings(String scoreString,
int levelsSize)
parseLevelStrings
public static String[] parseLevelStrings(String scoreString,
String... levelSuffixes)
buildScorePattern
public static String buildScorePattern(int levelsSize)
buildScorePattern
public static String buildScorePattern(String... levelSuffixes)
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.