org.optaplanner.core.impl.score.trend
Class InitializingScoreTrend
java.lang.Object
org.optaplanner.core.impl.score.trend.InitializingScoreTrend
- All Implemented Interfaces:
- Serializable
public class InitializingScoreTrend
- extends Object
- implements Serializable
Bounds the possible Score
s for a Solution
as more and more variables are initialized
(while the already initialized variables don't change).
- See Also:
InitializingScoreTrendLevel
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InitializingScoreTrend
public InitializingScoreTrend(InitializingScoreTrendLevel[] trendLevels)
parseTrend
public static InitializingScoreTrend parseTrend(String initializingScoreTrendString,
int levelsSize)
buildUniformTrend
public static InitializingScoreTrend buildUniformTrend(InitializingScoreTrendLevel trendLevel,
int levelsSize)
buildTrendPattern
protected static String buildTrendPattern(int levelsSize)
getTrendLevels
public InitializingScoreTrendLevel[] getTrendLevels()
getLevelsSize
public int getLevelsSize()
isOnlyUp
public boolean isOnlyUp()
isOnlyDown
public boolean isOnlyDown()
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.