Uses of Class
org.optaplanner.core.api.score.buildin.bendablelong.BendableLongScore
Package
Description
Support for a
Score
with a configurable number of score levels
and long
score weights.-
Uses of BendableLongScore in org.optaplanner.constraint.drl.holder
Modifier and TypeFieldDescriptionprotected final Map<org.kie.api.definition.rule.Rule,
AbstractScoreHolder.ScoreMatchExecutor<BendableLongScore>> BendableLongScoreHolderImpl.matchExecutorByScoreMap
Modifier and TypeMethodDescriptionvoid
BendableLongScoreHolderImpl.configureConstraintWeight
(org.kie.api.definition.rule.Rule rule, BendableLongScore constraintWeight) -
Uses of BendableLongScore in org.optaplanner.core.api.score.buildin.bendablelong
Modifier and TypeMethodDescriptionBendableLongScore.abs()
BendableLongScore.add
(BendableLongScore addend) BendableLongScore.divide
(double divisor) BendableLongScore.multiply
(double multiplicand) BendableLongScore.negate()
static BendableLongScore
BendableLongScore.of
(long[] hardScores, long[] softScores) Creates a newBendableLongScore
.static BendableLongScore
BendableLongScore.ofHard
(int hardLevelsSize, int softLevelsSize, int hardLevel, long hardScore) Creates a newBendableLongScore
.static BendableLongScore
BendableLongScore.ofSoft
(int hardLevelsSize, int softLevelsSize, int softLevel, long softScore) Creates a newBendableLongScore
.static BendableLongScore
BendableLongScore.ofUninitialized
(int initScore, long[] hardScores, long[] softScores) Creates a newBendableLongScore
.static BendableLongScore
BendableLongScore.parseScore
(String scoreString) BendableLongScore.power
(double exponent) BendableLongScore.subtract
(BendableLongScore subtrahend) BendableLongScore.withInitScore
(int newInitScore) BendableLongScore.zero()
static BendableLongScore
BendableLongScore.zero
(int hardLevelsSize, int softLevelsSize) Creates a newBendableLongScore
.Modifier and TypeMethodDescriptionBendableLongScore.add
(BendableLongScore addend) int
BendableLongScore.compareTo
(BendableLongScore other) BendableLongScore.subtract
(BendableLongScore subtrahend) void
BendableLongScore.validateCompatible
(BendableLongScore other) -
Uses of BendableLongScore in org.optaplanner.core.impl.score.buildin
Modifier and TypeMethodDescriptionBendableLongScoreDefinition.buildOptimisticBound
(InitializingScoreTrend initializingScoreTrend, BendableLongScore score) BendableLongScoreDefinition.buildPessimisticBound
(InitializingScoreTrend initializingScoreTrend, BendableLongScore score) BendableLongScoreDefinition.createScore
(long... scores) BendableLongScoreDefinition.createScoreUninitialized
(int initScore, long... scores) BendableLongScoreDefinition.divideBySanitizedDivisor
(BendableLongScore dividend, BendableLongScore divisor) BendableLongScoreDefinition.fromLevelNumbers
(int initScore, Number[] levelNumbers) final BendableLongScore
BendableLongScoreDefinition.getOneSoftestScore()
BendableLongScoreDefinition.getZeroScore()
BendableLongScoreDefinition.parseScore
(String scoreString) Modifier and TypeMethodDescriptionBendableLongScoreDefinition.buildOptimisticBound
(InitializingScoreTrend initializingScoreTrend, BendableLongScore score) BendableLongScoreDefinition.buildPessimisticBound
(InitializingScoreTrend initializingScoreTrend, BendableLongScore score) BendableLongScoreDefinition.divideBySanitizedDivisor
(BendableLongScore dividend, BendableLongScore divisor) -
Uses of BendableLongScore in org.optaplanner.persistence.jackson.api.score.buildin.bendablelong
Modifier and TypeMethodDescriptionBendableLongScoreJacksonDeserializer.deserialize
(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext context) -
Uses of BendableLongScore in org.optaplanner.persistence.jaxb.api.score.buildin.bendablelong
Modifier and TypeMethodDescription -
Uses of BendableLongScore in org.optaplanner.persistence.jpa.api.score.buildin.bendablelong
Modifier and TypeMethodDescriptionBendableLongScoreConverter.convertToEntityAttribute
(String scoreString) Modifier and TypeMethodDescriptionBendableLongScoreConverter.convertToDatabaseColumn
(BendableLongScore score) -
Uses of BendableLongScore in org.optaplanner.persistence.jsonb.api.score.buildin.bendablelong
Modifier and TypeMethodDescriptionBendableLongScoreJsonbAdapter.adaptFromJson
(String scoreString)