Uses of Class
org.optaplanner.core.api.score.buildin.bendablelong.BendableLongScore
Packages that use 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
Fields in org.optaplanner.constraint.drl.holder with type parameters of type BendableLongScoreModifier and TypeFieldDescriptionprotected final Map<org.kie.api.definition.rule.Rule,
AbstractScoreHolder.ScoreMatchExecutor<BendableLongScore>> BendableLongScoreHolderImpl.matchExecutorByScoreMap
Methods in org.optaplanner.constraint.drl.holder that return BendableLongScoreMethods in org.optaplanner.constraint.drl.holder with parameters of type BendableLongScoreModifier and TypeMethodDescriptionvoid
BendableLongScoreHolderImpl.configureConstraintWeight
(org.kie.api.definition.rule.Rule rule, BendableLongScore constraintWeight) -
Uses of BendableLongScore in org.optaplanner.core.api.score.buildin.bendablelong
Methods in org.optaplanner.core.api.score.buildin.bendablelong that return BendableLongScoreModifier 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
.Methods in org.optaplanner.core.api.score.buildin.bendablelong with parameters of type BendableLongScoreModifier 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
Methods in org.optaplanner.core.impl.score.buildin that return BendableLongScoreModifier 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) Methods in org.optaplanner.core.impl.score.buildin that return types with arguments of type BendableLongScoreMethods in org.optaplanner.core.impl.score.buildin with parameters of type BendableLongScoreModifier 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
Methods in org.optaplanner.persistence.jackson.api.score.buildin.bendablelong that return BendableLongScoreModifier 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
Methods in org.optaplanner.persistence.jaxb.api.score.buildin.bendablelong that return BendableLongScoreModifier and TypeMethodDescription -
Uses of BendableLongScore in org.optaplanner.persistence.jpa.api.score.buildin.bendablelong
Methods in org.optaplanner.persistence.jpa.api.score.buildin.bendablelong that return BendableLongScoreModifier and TypeMethodDescriptionBendableLongScoreConverter.convertToEntityAttribute
(String scoreString) Methods in org.optaplanner.persistence.jpa.api.score.buildin.bendablelong with parameters of type BendableLongScoreModifier and TypeMethodDescriptionBendableLongScoreConverter.convertToDatabaseColumn
(BendableLongScore score) -
Uses of BendableLongScore in org.optaplanner.persistence.jsonb.api.score.buildin.bendablelong
Methods in org.optaplanner.persistence.jsonb.api.score.buildin.bendablelong that return BendableLongScoreModifier and TypeMethodDescriptionBendableLongScoreJsonbAdapter.adaptFromJson
(String scoreString)