Package | Description |
---|---|
org.optaplanner.core.api.score.buildin.bendable |
Support for a
Score with a configurable number of score levels
and int score weights. |
org.optaplanner.core.impl.score.buildin.bendable |
Modifier and Type | Method and Description |
---|---|
BendableScore |
BendableScore.add(BendableScore augment) |
BendableScore |
BendableScore.divide(double divisor) |
BendableScore |
BendableScore.multiply(double multiplicand) |
BendableScore |
BendableScore.negate() |
static BendableScore |
BendableScore.parseScore(int hardLevelsSize,
int softLevelsSize,
String scoreString) |
BendableScore |
BendableScore.power(double exponent) |
BendableScore |
BendableScore.subtract(BendableScore subtrahend) |
static BendableScore |
BendableScore.valueOf(int[] hardScores,
int[] softScores)
Creates a new
BendableScore . |
Modifier and Type | Method and Description |
---|---|
BendableScore |
BendableScore.add(BendableScore augment) |
int |
BendableScore.compareTo(BendableScore other) |
BendableScore |
BendableScore.subtract(BendableScore subtrahend) |
void |
BendableScore.validateCompatible(BendableScore other) |
Modifier and Type | Method and Description |
---|---|
BendableScore |
BendableScoreDefinition.buildOptimisticBound(InitializingScoreTrend initializingScoreTrend,
BendableScore score) |
BendableScore |
BendableScoreDefinition.buildPessimisticBound(InitializingScoreTrend initializingScoreTrend,
BendableScore score) |
BendableScore |
BendableScoreDefinition.createScore(int... scores) |
BendableScore |
BendableScoreDefinition.fromLevelNumbers(Number[] levelNumbers) |
BendableScore |
BendableScoreDefinition.parseScore(String scoreString) |
Modifier and Type | Method and Description |
---|---|
Class<BendableScore> |
BendableScoreDefinition.getScoreClass() |
Modifier and Type | Method and Description |
---|---|
BendableScore |
BendableScoreDefinition.buildOptimisticBound(InitializingScoreTrend initializingScoreTrend,
BendableScore score) |
BendableScore |
BendableScoreDefinition.buildPessimisticBound(InitializingScoreTrend initializingScoreTrend,
BendableScore score) |
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.