Package | Description |
---|---|
org.optaplanner.core.api.score.buildin.bendablelong |
Support for a
Score with a configurable number of score levels
and long score weights. |
org.optaplanner.core.impl.score.buildin.bendablelong | |
org.optaplanner.persistence.jackson.api.score.buildin.bendablelong | |
org.optaplanner.persistence.jaxb.api.score.buildin.bendablelong | |
org.optaplanner.persistence.jpa.api.score.buildin.bendablelong | |
org.optaplanner.persistence.jsonb.api.score.buildin.bendablelong |
Modifier and Type | Field and Description |
---|---|
protected Map<org.kie.api.definition.rule.Rule,BiConsumer<org.kie.api.runtime.rule.RuleContext,BendableLongScore>> |
BendableLongScoreHolder.matchExecutorByScoreMap
Slower than
BendableLongScoreHolder.matchExecutorByNumberMap |
Modifier and Type | Method and Description |
---|---|
BendableLongScore |
BendableLongScore.add(BendableLongScore addend) |
BendableLongScore |
BendableLongScore.divide(double divisor) |
BendableLongScore |
BendableLongScoreHolder.extractScore(int initScore) |
BendableLongScore |
BendableLongScore.multiply(double multiplicand) |
BendableLongScore |
BendableLongScore.negate() |
static BendableLongScore |
BendableLongScore.of(long[] hardScores,
long[] softScores)
Creates a new
BendableLongScore . |
static BendableLongScore |
BendableLongScore.ofHard(int hardLevelsSize,
int softLevelsSize,
int hardLevel,
long hardScore)
Creates a new
BendableLongScore . |
static BendableLongScore |
BendableLongScore.ofSoft(int hardLevelsSize,
int softLevelsSize,
int softLevel,
long softScore)
Creates a new
BendableLongScore . |
static BendableLongScore |
BendableLongScore.ofUninitialized(int initScore,
long[] hardScores,
long[] softScores)
Creates a new
BendableLongScore . |
static BendableLongScore |
BendableLongScore.parseScore(String scoreString) |
BendableLongScore |
BendableLongScore.power(double exponent) |
BendableLongScore |
BendableLongScore.subtract(BendableLongScore subtrahend) |
static BendableLongScore |
BendableLongScore.valueOf(long[] hardScores,
long[] softScores)
Deprecated.
in favor of
of(long[], long[]) |
static BendableLongScore |
BendableLongScore.valueOfUninitialized(int initScore,
long[] hardScores,
long[] softScores)
Deprecated.
in favor of
ofUninitialized(int, long[], long[]) |
BendableLongScore |
BendableLongScore.withInitScore(int newInitScore) |
static BendableLongScore |
BendableLongScore.zero(int hardLevelsSize,
int softLevelsSize)
Creates a new
BendableLongScore . |
Modifier and Type | Method and Description |
---|---|
BendableLongScore |
BendableLongScore.add(BendableLongScore addend) |
int |
BendableLongScore.compareTo(BendableLongScore other) |
void |
BendableLongScoreHolder.configureConstraintWeight(org.kie.api.definition.rule.Rule rule,
BendableLongScore constraintWeight) |
BendableLongScore |
BendableLongScore.subtract(BendableLongScore subtrahend) |
void |
BendableLongScore.validateCompatible(BendableLongScore other) |
Modifier and Type | Method and Description |
---|---|
BendableLongScore |
BendableLongScoreDefinition.buildOptimisticBound(InitializingScoreTrend initializingScoreTrend,
BendableLongScore score) |
BendableLongScore |
BendableLongScoreDefinition.buildPessimisticBound(InitializingScoreTrend initializingScoreTrend,
BendableLongScore score) |
BendableLongScore |
BendableLongScoreDefinition.createScore(long... scores) |
BendableLongScore |
BendableLongScoreDefinition.createScoreUninitialized(int initScore,
long... scores) |
BendableLongScore |
BendableLongScoreDefinition.divideBySanitizedDivisor(BendableLongScore dividend,
BendableLongScore divisor) |
BendableLongScore |
BendableLongScoreInliner.extractScore(int initScore) |
BendableLongScore |
BendableLongScoreDefinition.fromLevelNumbers(int initScore,
Number[] levelNumbers) |
BendableLongScore |
BendableLongScoreDefinition.getOneSoftestScore() |
BendableLongScore |
BendableLongScoreDefinition.getZeroScore() |
BendableLongScore |
BendableLongScoreDefinition.parseScore(String scoreString) |
Modifier and Type | Method and Description |
---|---|
Class<BendableLongScore> |
BendableLongScoreDefinition.getScoreClass() |
Modifier and Type | Method and Description |
---|---|
BendableLongScore |
BendableLongScoreDefinition.buildOptimisticBound(InitializingScoreTrend initializingScoreTrend,
BendableLongScore score) |
BendableLongScore |
BendableLongScoreDefinition.buildPessimisticBound(InitializingScoreTrend initializingScoreTrend,
BendableLongScore score) |
LongWeightedScoreImpacter |
BendableLongScoreInliner.buildWeightedScoreImpacter(BendableLongScore constraintWeight) |
BendableLongScore |
BendableLongScoreDefinition.divideBySanitizedDivisor(BendableLongScore dividend,
BendableLongScore divisor) |
Modifier and Type | Method and Description |
---|---|
BendableLongScore |
BendableLongScoreJacksonJsonDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser parser,
com.fasterxml.jackson.databind.DeserializationContext context) |
Modifier and Type | Method and Description |
---|---|
BendableLongScore |
BendableLongScoreJaxbXmlAdapter.unmarshal(String scoreString) |
Modifier and Type | Method and Description |
---|---|
BendableLongScore |
BendableLongScoreConverter.convertToEntityAttribute(String scoreString) |
Modifier and Type | Method and Description |
---|---|
String |
BendableLongScoreConverter.convertToDatabaseColumn(BendableLongScore score) |
Modifier and Type | Method and Description |
---|---|
BendableLongScore |
BendableLongScoreJsonbAdapter.adaptFromJson(String scoreString) |
Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.