Package | Description |
---|---|
org.optaplanner.core.api.score.buildin.hardsoft |
Support for a
Score with 2 score levels and int score weights. |
org.optaplanner.core.impl.score.buildin.hardsoft |
Modifier and Type | Method and Description |
---|---|
HardSoftScore |
HardSoftScore.add(HardSoftScore augment) |
HardSoftScore |
HardSoftScore.divide(double divisor) |
HardSoftScore |
HardSoftScore.multiply(double multiplicand) |
HardSoftScore |
HardSoftScore.negate() |
static HardSoftScore |
HardSoftScore.parseScore(String scoreString) |
HardSoftScore |
HardSoftScore.power(double exponent) |
HardSoftScore |
HardSoftScore.subtract(HardSoftScore subtrahend) |
static HardSoftScore |
HardSoftScore.valueOf(int hardScore,
int softScore) |
Modifier and Type | Method and Description |
---|---|
HardSoftScore |
HardSoftScore.add(HardSoftScore augment) |
int |
HardSoftScore.compareTo(HardSoftScore other) |
HardSoftScore |
HardSoftScore.subtract(HardSoftScore subtrahend) |
Modifier and Type | Method and Description |
---|---|
HardSoftScore |
HardSoftScoreDefinition.buildOptimisticBound(InitializingScoreTrend initializingScoreTrend,
HardSoftScore score) |
HardSoftScore |
HardSoftScoreDefinition.buildPessimisticBound(InitializingScoreTrend initializingScoreTrend,
HardSoftScore score) |
HardSoftScore |
HardSoftScoreDefinition.fromLevelNumbers(Number[] levelNumbers) |
HardSoftScore |
HardSoftScoreDefinition.parseScore(String scoreString) |
Modifier and Type | Method and Description |
---|---|
Class<HardSoftScore> |
HardSoftScoreDefinition.getScoreClass() |
Modifier and Type | Method and Description |
---|---|
HardSoftScore |
HardSoftScoreDefinition.buildOptimisticBound(InitializingScoreTrend initializingScoreTrend,
HardSoftScore score) |
HardSoftScore |
HardSoftScoreDefinition.buildPessimisticBound(InitializingScoreTrend initializingScoreTrend,
HardSoftScore score) |
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.