Package | Description |
---|---|
org.optaplanner.core.api.score.buildin.bendablebigdecimal |
Support for a
Score with a configurable number of score levels
and BigDecimal score weights. |
org.optaplanner.core.impl.score.buildin.bendablebigdecimal | |
org.optaplanner.persistence.jackson.api.score.buildin.bendablebigdecimal | |
org.optaplanner.persistence.jaxb.api.score.buildin.bendablebigdecimal |
Modifier and Type | Field and Description |
---|---|
protected Map<org.kie.api.definition.rule.Rule,BiConsumer<org.kie.api.runtime.rule.RuleContext,BendableBigDecimalScore>> |
BendableBigDecimalScoreHolder.matchExecutorByScoreMap
|
Modifier and Type | Method and Description |
---|---|
BendableBigDecimalScore |
BendableBigDecimalScore.add(BendableBigDecimalScore addend) |
BendableBigDecimalScore |
BendableBigDecimalScore.divide(double divisor) |
BendableBigDecimalScore |
BendableBigDecimalScoreHolder.extractScore(int initScore) |
BendableBigDecimalScore |
BendableBigDecimalScore.multiply(double multiplicand) |
BendableBigDecimalScore |
BendableBigDecimalScore.negate() |
static BendableBigDecimalScore |
BendableBigDecimalScore.of(BigDecimal[] hardScores,
BigDecimal[] softScores)
Creates a new
BendableBigDecimalScore . |
static BendableBigDecimalScore |
BendableBigDecimalScore.ofHard(int hardLevelsSize,
int softLevelsSize,
int hardLevel,
BigDecimal hardScore)
Creates a new
BendableBigDecimalScore . |
static BendableBigDecimalScore |
BendableBigDecimalScore.ofSoft(int hardLevelsSize,
int softLevelsSize,
int softLevel,
BigDecimal softScore)
Creates a new
BendableBigDecimalScore . |
static BendableBigDecimalScore |
BendableBigDecimalScore.ofUninitialized(int initScore,
BigDecimal[] hardScores,
BigDecimal[] softScores)
Creates a new
BendableBigDecimalScore . |
static BendableBigDecimalScore |
BendableBigDecimalScore.parseScore(String scoreString) |
BendableBigDecimalScore |
BendableBigDecimalScore.power(double exponent) |
BendableBigDecimalScore |
BendableBigDecimalScore.subtract(BendableBigDecimalScore subtrahend) |
BendableBigDecimalScore |
BendableBigDecimalScore.toInitializedScore() |
static BendableBigDecimalScore |
BendableBigDecimalScore.valueOf(BigDecimal[] hardScores,
BigDecimal[] softScores)
Deprecated.
in favor of
of(BigDecimal[], BigDecimal[]) |
static BendableBigDecimalScore |
BendableBigDecimalScore.valueOfUninitialized(int initScore,
BigDecimal[] hardScores,
BigDecimal[] softScores)
Deprecated.
in favor of
ofUninitialized(int, BigDecimal[], BigDecimal[]) |
BendableBigDecimalScore |
BendableBigDecimalScore.withInitScore(int newInitScore) |
static BendableBigDecimalScore |
BendableBigDecimalScore.zero(int hardLevelsSize,
int softLevelsSize)
Creates a new
BendableBigDecimalScore . |
Modifier and Type | Method and Description |
---|---|
BendableBigDecimalScore |
BendableBigDecimalScore.add(BendableBigDecimalScore addend) |
int |
BendableBigDecimalScore.compareTo(BendableBigDecimalScore other) |
void |
BendableBigDecimalScoreHolder.configureConstraintWeight(org.kie.api.definition.rule.Rule rule,
BendableBigDecimalScore constraintWeight) |
BendableBigDecimalScore |
BendableBigDecimalScore.subtract(BendableBigDecimalScore subtrahend) |
void |
BendableBigDecimalScore.validateCompatible(BendableBigDecimalScore other) |
Modifier and Type | Method and Description |
---|---|
BendableBigDecimalScore |
BendableBigDecimalScoreDefinition.buildOptimisticBound(InitializingScoreTrend initializingScoreTrend,
BendableBigDecimalScore score) |
BendableBigDecimalScore |
BendableBigDecimalScoreDefinition.buildPessimisticBound(InitializingScoreTrend initializingScoreTrend,
BendableBigDecimalScore score) |
BendableBigDecimalScore |
BendableBigDecimalScoreDefinition.createScore(BigDecimal... scores) |
BendableBigDecimalScore |
BendableBigDecimalScoreDefinition.createScoreUninitialized(int initScore,
BigDecimal... scores) |
BendableBigDecimalScore |
BendableBigDecimalScoreInliner.extractScore(int initScore) |
BendableBigDecimalScore |
BendableBigDecimalScoreDefinition.fromLevelNumbers(int initScore,
Number[] levelNumbers) |
BendableBigDecimalScore |
BendableBigDecimalScoreDefinition.getZeroScore() |
BendableBigDecimalScore |
BendableBigDecimalScoreDefinition.parseScore(String scoreString) |
Modifier and Type | Method and Description |
---|---|
Class<BendableBigDecimalScore> |
BendableBigDecimalScoreDefinition.getScoreClass() |
Modifier and Type | Method and Description |
---|---|
BendableBigDecimalScore |
BendableBigDecimalScoreDefinition.buildOptimisticBound(InitializingScoreTrend initializingScoreTrend,
BendableBigDecimalScore score) |
BendableBigDecimalScore |
BendableBigDecimalScoreDefinition.buildPessimisticBound(InitializingScoreTrend initializingScoreTrend,
BendableBigDecimalScore score) |
BigDecimalWeightedScoreImpacter |
BendableBigDecimalScoreInliner.buildWeightedScoreImpacter(BendableBigDecimalScore constraintWeight) |
Modifier and Type | Method and Description |
---|---|
BendableBigDecimalScore |
BendableBigDecimalScoreJacksonJsonDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser parser,
com.fasterxml.jackson.databind.DeserializationContext context) |
Modifier and Type | Method and Description |
---|---|
BendableBigDecimalScore |
BendableBigDecimalScoreJaxbXmlAdapter.unmarshal(String scoreString) |
Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.