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 |
Modifier and Type | Field and Description |
---|---|
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 augment) |
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) |
HardSoftLongScore |
HardSoftLongScore.toInitializedScore() |
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 augment) |
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.fromLevelNumbers(int initScore,
Number[] levelNumbers) |
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) |
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) |
Copyright © 2006–2018 JBoss by Red Hat. All rights reserved.