Package | Description |
---|---|
org.optaplanner.core.api.score.buildin.simple |
Support for a
Score with 1 score level and int score weights. |
org.optaplanner.core.impl.score.buildin.simple | |
org.optaplanner.persistence.jackson.api.score.buildin.simple | |
org.optaplanner.persistence.jaxb.api.score.buildin.simple |
Modifier and Type | Field and Description |
---|---|
static SimpleScore |
SimpleScore.ONE |
static SimpleScore |
SimpleScore.ZERO |
Modifier and Type | Method and Description |
---|---|
SimpleScore |
SimpleScore.add(SimpleScore addend) |
SimpleScore |
SimpleScore.divide(double divisor) |
SimpleScore |
SimpleScoreHolder.extractScore(int initScore) |
SimpleScore |
SimpleScore.multiply(double multiplicand) |
SimpleScore |
SimpleScore.negate() |
static SimpleScore |
SimpleScore.of(int score) |
static SimpleScore |
SimpleScore.ofUninitialized(int initScore,
int score) |
static SimpleScore |
SimpleScore.parseScore(String scoreString) |
SimpleScore |
SimpleScore.power(double exponent) |
SimpleScore |
SimpleScore.subtract(SimpleScore subtrahend) |
SimpleScore |
SimpleScore.toInitializedScore() |
static SimpleScore |
SimpleScore.valueOf(int score)
Deprecated.
in favor of
of(int) |
static SimpleScore |
SimpleScore.valueOfUninitialized(int initScore,
int score)
Deprecated.
in favor of
ofUninitialized(int, int) |
SimpleScore |
SimpleScore.withInitScore(int newInitScore) |
Modifier and Type | Method and Description |
---|---|
SimpleScore |
SimpleScore.add(SimpleScore addend) |
int |
SimpleScore.compareTo(SimpleScore other) |
void |
SimpleScoreHolder.configureConstraintWeight(org.kie.api.definition.rule.Rule rule,
SimpleScore constraintWeight) |
SimpleScore |
SimpleScore.subtract(SimpleScore subtrahend) |
Modifier and Type | Method and Description |
---|---|
SimpleScore |
SimpleScoreDefinition.buildOptimisticBound(InitializingScoreTrend initializingScoreTrend,
SimpleScore score) |
SimpleScore |
SimpleScoreDefinition.buildPessimisticBound(InitializingScoreTrend initializingScoreTrend,
SimpleScore score) |
SimpleScore |
SimpleScoreInliner.extractScore(int initScore) |
SimpleScore |
SimpleScoreDefinition.fromLevelNumbers(int initScore,
Number[] levelNumbers) |
SimpleScore |
SimpleScoreDefinition.getZeroScore() |
SimpleScore |
SimpleScoreDefinition.parseScore(String scoreString) |
Modifier and Type | Method and Description |
---|---|
Class<SimpleScore> |
SimpleScoreDefinition.getScoreClass() |
Modifier and Type | Method and Description |
---|---|
SimpleScore |
SimpleScoreDefinition.buildOptimisticBound(InitializingScoreTrend initializingScoreTrend,
SimpleScore score) |
SimpleScore |
SimpleScoreDefinition.buildPessimisticBound(InitializingScoreTrend initializingScoreTrend,
SimpleScore score) |
IntWeightedScoreImpacter |
SimpleScoreInliner.buildWeightedScoreImpacter(SimpleScore constraintWeight) |
Modifier and Type | Method and Description |
---|---|
SimpleScore |
SimpleScoreJacksonJsonDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser parser,
com.fasterxml.jackson.databind.DeserializationContext context) |
Modifier and Type | Method and Description |
---|---|
SimpleScore |
SimpleScoreJaxbXmlAdapter.unmarshal(String scoreString) |
Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.