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 | |
org.optaplanner.persistence.jpa.api.score.buildin.simple | |
org.optaplanner.persistence.jsonb.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) |
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 |
SimpleScoreDefinition.divideBySanitizedDivisor(SimpleScore dividend,
SimpleScore divisor) |
SimpleScore |
SimpleScoreInliner.extractScore(int initScore) |
SimpleScore |
SimpleScoreDefinition.fromLevelNumbers(int initScore,
Number[] levelNumbers) |
SimpleScore |
SimpleScoreDefinition.getOneSoftestScore() |
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) |
SimpleScore |
SimpleScoreDefinition.divideBySanitizedDivisor(SimpleScore dividend,
SimpleScore divisor) |
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) |
Modifier and Type | Method and Description |
---|---|
SimpleScore |
SimpleScoreConverter.convertToEntityAttribute(String scoreString) |
Modifier and Type | Method and Description |
---|---|
String |
SimpleScoreConverter.convertToDatabaseColumn(SimpleScore score) |
Modifier and Type | Method and Description |
---|---|
SimpleScore |
SimpleScoreJsonbAdapter.adaptFromJson(String scoreString) |
Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.