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