Package | Description |
---|---|
org.optaplanner.core.api.score.buildin.hardsoftlong |
Support for a
Score with 2 score levels and long score weights. |
org.optaplanner.core.impl.score.buildin.hardsoftlong | |
org.optaplanner.persistence.jackson.api.score.buildin.hardsoftlong | |
org.optaplanner.persistence.jaxb.api.score.buildin.hardsoftlong | |
org.optaplanner.persistence.jpa.api.score.buildin.hardsoftlong | |
org.optaplanner.persistence.jsonb.api.score.buildin.hardsoftlong |
Modifier and Type | Field and Description |
---|---|
static HardSoftLongScore |
HardSoftLongScore.ONE_HARD |
static HardSoftLongScore |
HardSoftLongScore.ONE_SOFT |
static HardSoftLongScore |
HardSoftLongScore.ZERO |
Modifier and Type | Field and Description |
---|---|
protected Map<org.kie.api.definition.rule.Rule,BiConsumer<org.kie.api.runtime.rule.RuleContext,HardSoftLongScore>> |
HardSoftLongScoreHolder.matchExecutorByScoreMap
Slower than
HardSoftLongScoreHolder.matchExecutorByNumberMap |
Modifier and Type | Method and Description |
---|---|
HardSoftLongScore |
HardSoftLongScore.add(HardSoftLongScore addend) |
HardSoftLongScore |
HardSoftLongScore.divide(double divisor) |
HardSoftLongScore |
HardSoftLongScoreHolder.extractScore(int initScore) |
HardSoftLongScore |
HardSoftLongScore.multiply(double multiplicand) |
HardSoftLongScore |
HardSoftLongScore.negate() |
static HardSoftLongScore |
HardSoftLongScore.of(long hardScore,
long softScore) |
static HardSoftLongScore |
HardSoftLongScore.ofHard(long hardScore) |
static HardSoftLongScore |
HardSoftLongScore.ofSoft(long softScore) |
static HardSoftLongScore |
HardSoftLongScore.ofUninitialized(int initScore,
long hardScore,
long softScore) |
static HardSoftLongScore |
HardSoftLongScore.parseScore(String scoreString) |
HardSoftLongScore |
HardSoftLongScore.power(double exponent) |
HardSoftLongScore |
HardSoftLongScore.subtract(HardSoftLongScore subtrahend) |
static HardSoftLongScore |
HardSoftLongScore.valueOf(long hardScore,
long softScore)
Deprecated.
in favor of
of(long, long) |
static HardSoftLongScore |
HardSoftLongScore.valueOfUninitialized(int initScore,
long hardScore,
long softScore)
Deprecated.
in favor of
ofUninitialized(int, long, long) |
HardSoftLongScore |
HardSoftLongScore.withInitScore(int newInitScore) |
Modifier and Type | Method and Description |
---|---|
HardSoftLongScore |
HardSoftLongScore.add(HardSoftLongScore addend) |
int |
HardSoftLongScore.compareTo(HardSoftLongScore other) |
void |
HardSoftLongScoreHolder.configureConstraintWeight(org.kie.api.definition.rule.Rule rule,
HardSoftLongScore constraintWeight) |
HardSoftLongScore |
HardSoftLongScore.subtract(HardSoftLongScore subtrahend) |
Modifier and Type | Method and Description |
---|---|
HardSoftLongScore |
HardSoftLongScoreDefinition.buildOptimisticBound(InitializingScoreTrend initializingScoreTrend,
HardSoftLongScore score) |
HardSoftLongScore |
HardSoftLongScoreDefinition.buildPessimisticBound(InitializingScoreTrend initializingScoreTrend,
HardSoftLongScore score) |
HardSoftLongScore |
HardSoftLongScoreDefinition.divideBySanitizedDivisor(HardSoftLongScore dividend,
HardSoftLongScore divisor) |
HardSoftLongScore |
HardSoftLongScoreInliner.extractScore(int initScore) |
HardSoftLongScore |
HardSoftLongScoreDefinition.fromLevelNumbers(int initScore,
Number[] levelNumbers) |
HardSoftLongScore |
HardSoftLongScoreDefinition.getOneSoftestScore() |
HardSoftLongScore |
HardSoftLongScoreDefinition.getZeroScore() |
HardSoftLongScore |
HardSoftLongScoreDefinition.parseScore(String scoreString) |
Modifier and Type | Method and Description |
---|---|
Class<HardSoftLongScore> |
HardSoftLongScoreDefinition.getScoreClass() |
Modifier and Type | Method and Description |
---|---|
HardSoftLongScore |
HardSoftLongScoreDefinition.buildOptimisticBound(InitializingScoreTrend initializingScoreTrend,
HardSoftLongScore score) |
HardSoftLongScore |
HardSoftLongScoreDefinition.buildPessimisticBound(InitializingScoreTrend initializingScoreTrend,
HardSoftLongScore score) |
LongWeightedScoreImpacter |
HardSoftLongScoreInliner.buildWeightedScoreImpacter(HardSoftLongScore constraintWeight) |
HardSoftLongScore |
HardSoftLongScoreDefinition.divideBySanitizedDivisor(HardSoftLongScore dividend,
HardSoftLongScore divisor) |
Modifier and Type | Method and Description |
---|---|
HardSoftLongScore |
HardSoftLongScoreJacksonJsonDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser parser,
com.fasterxml.jackson.databind.DeserializationContext context) |
Modifier and Type | Method and Description |
---|---|
HardSoftLongScore |
HardSoftLongScoreJaxbXmlAdapter.unmarshal(String scoreString) |
Modifier and Type | Method and Description |
---|---|
HardSoftLongScore |
HardSoftLongScoreConverter.convertToEntityAttribute(String scoreString) |
Modifier and Type | Method and Description |
---|---|
String |
HardSoftLongScoreConverter.convertToDatabaseColumn(HardSoftLongScore score) |
Modifier and Type | Method and Description |
---|---|
HardSoftLongScore |
HardSoftLongScoreJsonbAdapter.adaptFromJson(String scoreString) |
Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.