Uses of Class
org.optaplanner.core.api.score.buildin.bendable.BendableScore
-
Packages that use BendableScore Package Description org.optaplanner.core.api.score.buildin.bendable Support for aScorewith a configurable number of score levels andintscore weights.org.optaplanner.core.impl.score.buildin org.optaplanner.core.impl.score.director.drools.holder -
-
Uses of BendableScore in org.optaplanner.core.api.score.buildin.bendable
Methods in org.optaplanner.core.api.score.buildin.bendable that return BendableScore Modifier and Type Method Description BendableScoreBendableScore. add(BendableScore addend)BendableScoreBendableScore. divide(double divisor)BendableScoreBendableScore. multiply(double multiplicand)BendableScoreBendableScore. negate()static BendableScoreBendableScore. of(int[] hardScores, int[] softScores)Creates a newBendableScore.static BendableScoreBendableScore. ofHard(int hardLevelsSize, int softLevelsSize, int hardLevel, int hardScore)Creates a newBendableScore.static BendableScoreBendableScore. ofSoft(int hardLevelsSize, int softLevelsSize, int softLevel, int softScore)Creates a newBendableScore.static BendableScoreBendableScore. ofUninitialized(int initScore, int[] hardScores, int[] softScores)Creates a newBendableScore.static BendableScoreBendableScore. parseScore(String scoreString)BendableScoreBendableScore. power(double exponent)BendableScoreBendableScore. subtract(BendableScore subtrahend)BendableScoreBendableScore. withInitScore(int newInitScore)BendableScoreBendableScore. zero()static BendableScoreBendableScore. zero(int hardLevelsSize, int softLevelsSize)Creates a newBendableScore.Methods in org.optaplanner.core.api.score.buildin.bendable with parameters of type BendableScore Modifier and Type Method Description BendableScoreBendableScore. add(BendableScore addend)intBendableScore. compareTo(BendableScore other)BendableScoreBendableScore. subtract(BendableScore subtrahend)voidBendableScore. validateCompatible(BendableScore other) -
Uses of BendableScore in org.optaplanner.core.impl.score.buildin
Methods in org.optaplanner.core.impl.score.buildin that return BendableScore Modifier and Type Method Description BendableScoreBendableScoreDefinition. buildOptimisticBound(InitializingScoreTrend initializingScoreTrend, BendableScore score)BendableScoreBendableScoreDefinition. buildPessimisticBound(InitializingScoreTrend initializingScoreTrend, BendableScore score)BendableScoreBendableScoreDefinition. createScore(int... scores)BendableScoreBendableScoreDefinition. createScoreUninitialized(int initScore, int... scores)BendableScoreBendableScoreDefinition. divideBySanitizedDivisor(BendableScore dividend, BendableScore divisor)BendableScoreBendableScoreDefinition. fromLevelNumbers(int initScore, Number[] levelNumbers)BendableScoreBendableScoreDefinition. getOneSoftestScore()BendableScoreBendableScoreDefinition. getZeroScore()BendableScoreBendableScoreDefinition. parseScore(String scoreString)Methods in org.optaplanner.core.impl.score.buildin that return types with arguments of type BendableScore Modifier and Type Method Description Class<BendableScore>BendableScoreDefinition. getScoreClass()Methods in org.optaplanner.core.impl.score.buildin with parameters of type BendableScore Modifier and Type Method Description BendableScoreBendableScoreDefinition. buildOptimisticBound(InitializingScoreTrend initializingScoreTrend, BendableScore score)BendableScoreBendableScoreDefinition. buildPessimisticBound(InitializingScoreTrend initializingScoreTrend, BendableScore score)BendableScoreBendableScoreDefinition. divideBySanitizedDivisor(BendableScore dividend, BendableScore divisor) -
Uses of BendableScore in org.optaplanner.core.impl.score.director.drools.holder
Fields in org.optaplanner.core.impl.score.director.drools.holder with type parameters of type BendableScore Modifier and Type Field Description protected Map<org.kie.api.definition.rule.Rule,AbstractScoreHolder.ScoreMatchExecutor<BendableScore>>BendableScoreHolderImpl. matchExecutorByScoreMapSlower thanBendableScoreHolderImpl.matchExecutorByNumberMapMethods in org.optaplanner.core.impl.score.director.drools.holder that return BendableScore Modifier and Type Method Description BendableScoreBendableScoreHolderImpl. extractScore(int initScore)Methods in org.optaplanner.core.impl.score.director.drools.holder with parameters of type BendableScore Modifier and Type Method Description voidBendableScoreHolderImpl. configureConstraintWeight(org.kie.api.definition.rule.Rule rule, BendableScore constraintWeight)
-