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