Package | Description |
---|---|
org.optaplanner.core.api.score.buildin.hardmediumsoft |
Support for a
Score with 3 score levels and int score weights. |
org.optaplanner.core.impl.score.buildin.hardmediumsoft | |
org.optaplanner.persistence.jackson.api.score.buildin.hardmediumsoft | |
org.optaplanner.persistence.jaxb.api.score.buildin.hardmediumsoft | |
org.optaplanner.persistence.jpa.api.score.buildin.hardmediumsoft | |
org.optaplanner.persistence.jsonb.api.score.buildin.hardmediumsoft |
Modifier and Type | Field and Description |
---|---|
static HardMediumSoftScore |
HardMediumSoftScore.ONE_HARD |
static HardMediumSoftScore |
HardMediumSoftScore.ONE_MEDIUM |
static HardMediumSoftScore |
HardMediumSoftScore.ONE_SOFT |
static HardMediumSoftScore |
HardMediumSoftScore.ZERO |
Modifier and Type | Field and Description |
---|---|
protected Map<org.kie.api.definition.rule.Rule,BiConsumer<org.kie.api.runtime.rule.RuleContext,HardMediumSoftScore>> |
HardMediumSoftScoreHolder.matchExecutorByScoreMap
|
Modifier and Type | Method and Description |
---|---|
HardMediumSoftScore |
HardMediumSoftScore.add(HardMediumSoftScore addend) |
HardMediumSoftScore |
HardMediumSoftScore.divide(double divisor) |
HardMediumSoftScore |
HardMediumSoftScoreHolder.extractScore(int initScore) |
HardMediumSoftScore |
HardMediumSoftScore.multiply(double multiplicand) |
HardMediumSoftScore |
HardMediumSoftScore.negate() |
static HardMediumSoftScore |
HardMediumSoftScore.of(int hardScore,
int mediumScore,
int softScore) |
static HardMediumSoftScore |
HardMediumSoftScore.ofHard(int hardScore) |
static HardMediumSoftScore |
HardMediumSoftScore.ofMedium(int mediumScore) |
static HardMediumSoftScore |
HardMediumSoftScore.ofSoft(int softScore) |
static HardMediumSoftScore |
HardMediumSoftScore.ofUninitialized(int initScore,
int hardScore,
int mediumScore,
int softScore) |
static HardMediumSoftScore |
HardMediumSoftScore.parseScore(String scoreString) |
HardMediumSoftScore |
HardMediumSoftScore.power(double exponent) |
HardMediumSoftScore |
HardMediumSoftScore.subtract(HardMediumSoftScore subtrahend) |
static HardMediumSoftScore |
HardMediumSoftScore.valueOf(int hardScore,
int mediumScore,
int softScore)
Deprecated.
in favor of
of(int, int, int) |
static HardMediumSoftScore |
HardMediumSoftScore.valueOfUninitialized(int initScore,
int hardScore,
int mediumScore,
int softScore)
Deprecated.
in favor of
ofUninitialized(int, int, int, int) |
HardMediumSoftScore |
HardMediumSoftScore.withInitScore(int newInitScore) |
Modifier and Type | Method and Description |
---|---|
HardMediumSoftScore |
HardMediumSoftScore.add(HardMediumSoftScore addend) |
int |
HardMediumSoftScore.compareTo(HardMediumSoftScore other) |
void |
HardMediumSoftScoreHolder.configureConstraintWeight(org.kie.api.definition.rule.Rule rule,
HardMediumSoftScore constraintWeight) |
HardMediumSoftScore |
HardMediumSoftScore.subtract(HardMediumSoftScore subtrahend) |
Modifier and Type | Method and Description |
---|---|
HardMediumSoftScore |
HardMediumSoftScoreDefinition.buildOptimisticBound(InitializingScoreTrend initializingScoreTrend,
HardMediumSoftScore score) |
HardMediumSoftScore |
HardMediumSoftScoreDefinition.buildPessimisticBound(InitializingScoreTrend initializingScoreTrend,
HardMediumSoftScore score) |
HardMediumSoftScore |
HardMediumSoftScoreDefinition.divideBySanitizedDivisor(HardMediumSoftScore dividend,
HardMediumSoftScore divisor) |
HardMediumSoftScore |
HardMediumSoftScoreInliner.extractScore(int initScore) |
HardMediumSoftScore |
HardMediumSoftScoreDefinition.fromLevelNumbers(int initScore,
Number[] levelNumbers) |
HardMediumSoftScore |
HardMediumSoftScoreDefinition.getOneSoftestScore() |
HardMediumSoftScore |
HardMediumSoftScoreDefinition.getZeroScore() |
HardMediumSoftScore |
HardMediumSoftScoreDefinition.parseScore(String scoreString) |
Modifier and Type | Method and Description |
---|---|
ScoreInliner<HardMediumSoftScore> |
HardMediumSoftScoreDefinition.buildScoreInliner(boolean constraintMatchEnabled) |
Class<HardMediumSoftScore> |
HardMediumSoftScoreDefinition.getScoreClass() |
Modifier and Type | Method and Description |
---|---|
HardMediumSoftScore |
HardMediumSoftScoreDefinition.buildOptimisticBound(InitializingScoreTrend initializingScoreTrend,
HardMediumSoftScore score) |
HardMediumSoftScore |
HardMediumSoftScoreDefinition.buildPessimisticBound(InitializingScoreTrend initializingScoreTrend,
HardMediumSoftScore score) |
IntWeightedScoreImpacter |
HardMediumSoftScoreInliner.buildWeightedScoreImpacter(HardMediumSoftScore constraintWeight) |
HardMediumSoftScore |
HardMediumSoftScoreDefinition.divideBySanitizedDivisor(HardMediumSoftScore dividend,
HardMediumSoftScore divisor) |
Modifier and Type | Method and Description |
---|---|
HardMediumSoftScore |
HardMediumSoftScoreJacksonJsonDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser parser,
com.fasterxml.jackson.databind.DeserializationContext context) |
Modifier and Type | Method and Description |
---|---|
HardMediumSoftScore |
HardMediumSoftScoreJaxbXmlAdapter.unmarshal(String scoreString) |
Modifier and Type | Method and Description |
---|---|
HardMediumSoftScore |
HardMediumSoftScoreConverter.convertToEntityAttribute(String scoreString) |
Modifier and Type | Method and Description |
---|---|
String |
HardMediumSoftScoreConverter.convertToDatabaseColumn(HardMediumSoftScore score) |
Modifier and Type | Method and Description |
---|---|
HardMediumSoftScore |
HardMediumSoftScoreJsonbAdapter.adaptFromJson(String scoreString) |
Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.