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 |
Modifier and Type | Field and Description |
---|---|
static HardSoftDoubleScore |
HardSoftDoubleScore.ONE_HARD |
static HardSoftDoubleScore |
HardSoftDoubleScore.ONE_SOFT |
static HardSoftDoubleScore |
HardSoftDoubleScore.ZERO |
Modifier and Type | Field and Description |
---|---|
protected Map<org.kie.api.definition.rule.Rule,BiConsumer<org.kie.api.runtime.rule.RuleContext,HardSoftDoubleScore>> |
HardSoftDoubleScoreHolder.matchExecutorByScoreMap
|
Modifier and Type | Method and Description |
---|---|
HardSoftDoubleScore |
HardSoftDoubleScore.add(HardSoftDoubleScore addend) |
HardSoftDoubleScore |
HardSoftDoubleScore.divide(double divisor) |
HardSoftDoubleScore |
HardSoftDoubleScoreHolder.extractScore(int initScore) |
HardSoftDoubleScore |
HardSoftDoubleScore.multiply(double multiplicand) |
HardSoftDoubleScore |
HardSoftDoubleScore.negate() |
static HardSoftDoubleScore |
HardSoftDoubleScore.of(double hardScore,
double softScore) |
static HardSoftDoubleScore |
HardSoftDoubleScore.ofHard(double hardScore) |
static HardSoftDoubleScore |
HardSoftDoubleScore.ofSoft(double softScore) |
static HardSoftDoubleScore |
HardSoftDoubleScore.ofUninitialized(int initScore,
double hardScore,
double softScore) |
static HardSoftDoubleScore |
HardSoftDoubleScore.parseScore(String scoreString) |
HardSoftDoubleScore |
HardSoftDoubleScore.power(double exponent) |
HardSoftDoubleScore |
HardSoftDoubleScore.subtract(HardSoftDoubleScore subtrahend) |
HardSoftDoubleScore |
HardSoftDoubleScore.toInitializedScore() |
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) |
Modifier and Type | Method and Description |
---|---|
HardSoftDoubleScore |
HardSoftDoubleScore.add(HardSoftDoubleScore addend) |
int |
HardSoftDoubleScore.compareTo(HardSoftDoubleScore other) |
void |
HardSoftDoubleScoreHolder.configureConstraintWeight(org.kie.api.definition.rule.Rule rule,
HardSoftDoubleScore constraintWeight) |
HardSoftDoubleScore |
HardSoftDoubleScore.subtract(HardSoftDoubleScore subtrahend) |
Modifier and Type | Method and Description |
---|---|
HardSoftDoubleScore |
HardSoftDoubleScoreDefinition.buildOptimisticBound(InitializingScoreTrend initializingScoreTrend,
HardSoftDoubleScore score) |
HardSoftDoubleScore |
HardSoftDoubleScoreDefinition.buildPessimisticBound(InitializingScoreTrend initializingScoreTrend,
HardSoftDoubleScore score) |
HardSoftDoubleScore |
HardSoftDoubleScoreDefinition.fromLevelNumbers(int initScore,
Number[] levelNumbers) |
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) |
Modifier and Type | Method and Description |
---|---|
HardSoftDoubleScore |
HardSoftDoubleScoreJacksonJsonDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser parser,
com.fasterxml.jackson.databind.DeserializationContext context) |
Modifier and Type | Method and Description |
---|---|
HardSoftDoubleScore |
HardSoftDoubleScoreJaxbXmlAdapter.unmarshal(String scoreString) |
Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.