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 | |
org.optaplanner.persistence.jackson.api.score.buildin.hardsoft | |
org.optaplanner.persistence.jaxb.api.score.buildin.hardsoft | |
org.optaplanner.persistence.jpa.api.score.buildin.hardsoft | |
org.optaplanner.persistence.jsonb.api.score.buildin.hardsoft |
Modifier and Type | Field and Description |
---|---|
static HardSoftScore |
HardSoftScore.ONE_HARD |
static HardSoftScore |
HardSoftScore.ONE_SOFT |
static HardSoftScore |
HardSoftScore.ZERO |
Modifier and Type | Field and Description |
---|---|
protected Map<org.kie.api.definition.rule.Rule,BiConsumer<org.kie.api.runtime.rule.RuleContext,HardSoftScore>> |
HardSoftScoreHolder.matchExecutorByScoreMap
Slower than
HardSoftScoreHolder.matchExecutorByNumberMap |
Modifier and Type | Method and Description |
---|---|
HardSoftScore |
HardSoftScore.add(HardSoftScore addend) |
HardSoftScore |
HardSoftScore.divide(double divisor) |
HardSoftScore |
HardSoftScoreHolder.extractScore(int initScore) |
HardSoftScore |
HardSoftScore.multiply(double multiplicand) |
HardSoftScore |
HardSoftScore.negate() |
static HardSoftScore |
HardSoftScore.of(int hardScore,
int softScore) |
static HardSoftScore |
HardSoftScore.ofHard(int hardScore) |
static HardSoftScore |
HardSoftScore.ofSoft(int softScore) |
static HardSoftScore |
HardSoftScore.ofUninitialized(int initScore,
int hardScore,
int softScore) |
static HardSoftScore |
HardSoftScore.parseScore(String scoreString) |
HardSoftScore |
HardSoftScore.power(double exponent) |
HardSoftScore |
HardSoftScore.subtract(HardSoftScore subtrahend) |
static HardSoftScore |
HardSoftScore.valueOf(int hardScore,
int softScore)
Deprecated.
in favor of
of(int, int) |
static HardSoftScore |
HardSoftScore.valueOfUninitialized(int initScore,
int hardScore,
int softScore)
Deprecated.
in favor of
ofUninitialized(int, int, int) |
HardSoftScore |
HardSoftScore.withInitScore(int newInitScore) |
Modifier and Type | Method and Description |
---|---|
HardSoftScore |
HardSoftScore.add(HardSoftScore addend) |
int |
HardSoftScore.compareTo(HardSoftScore other) |
void |
HardSoftScoreHolder.configureConstraintWeight(org.kie.api.definition.rule.Rule rule,
HardSoftScore constraintWeight) |
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.divideBySanitizedDivisor(HardSoftScore dividend,
HardSoftScore divisor) |
HardSoftScore |
HardSoftScoreInliner.extractScore(int initScore) |
HardSoftScore |
HardSoftScoreDefinition.fromLevelNumbers(int initScore,
Number[] levelNumbers) |
HardSoftScore |
HardSoftScoreDefinition.getOneSoftestScore() |
HardSoftScore |
HardSoftScoreDefinition.getZeroScore() |
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) |
IntWeightedScoreImpacter |
HardSoftScoreInliner.buildWeightedScoreImpacter(HardSoftScore constraintWeight) |
HardSoftScore |
HardSoftScoreDefinition.divideBySanitizedDivisor(HardSoftScore dividend,
HardSoftScore divisor) |
Modifier and Type | Method and Description |
---|---|
HardSoftScore |
HardSoftScoreJacksonJsonDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser parser,
com.fasterxml.jackson.databind.DeserializationContext context) |
Modifier and Type | Method and Description |
---|---|
HardSoftScore |
HardSoftScoreJaxbXmlAdapter.unmarshal(String scoreString) |
Modifier and Type | Method and Description |
---|---|
HardSoftScore |
HardSoftScoreConverter.convertToEntityAttribute(String scoreString) |
Modifier and Type | Method and Description |
---|---|
String |
HardSoftScoreConverter.convertToDatabaseColumn(HardSoftScore score) |
Modifier and Type | Method and Description |
---|---|
HardSoftScore |
HardSoftScoreJsonbAdapter.adaptFromJson(String scoreString) |
Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.