Uses of Class
org.optaplanner.core.api.score.buildin.bendable.BendableScore
-
Packages that use BendableScore Package Description org.optaplanner.constraint.drl.holder org.optaplanner.core.api.score.buildin.bendable Support for aScore
with a configurable number of score levels andint
score weights.org.optaplanner.core.impl.score.buildin org.optaplanner.persistence.jackson.api.score.buildin.bendable org.optaplanner.persistence.jaxb.api.score.buildin.bendable org.optaplanner.persistence.jpa.api.score.buildin.bendable org.optaplanner.persistence.jsonb.api.score.buildin.bendable -
-
Uses of BendableScore in org.optaplanner.constraint.drl.holder
Fields in org.optaplanner.constraint.drl.holder with type parameters of type BendableScore Modifier and Type Field Description protected Map<org.kie.api.definition.rule.Rule,AbstractScoreHolder.ScoreMatchExecutor<BendableScore>>
BendableScoreHolderImpl. matchExecutorByScoreMap
Slower thanBendableScoreHolderImpl.matchExecutorByNumberMap
Methods in org.optaplanner.constraint.drl.holder that return BendableScore Modifier and Type Method Description BendableScore
BendableScoreHolderImpl. extractScore(int initScore)
Methods in org.optaplanner.constraint.drl.holder with parameters of type BendableScore Modifier and Type Method Description void
BendableScoreHolderImpl. configureConstraintWeight(org.kie.api.definition.rule.Rule rule, BendableScore constraintWeight)
-
Uses of BendableScore in org.optaplanner.core.api.score.buildin.bendable
Methods in org.optaplanner.core.api.score.buildin.bendable that return BendableScore Modifier and Type Method Description BendableScore
BendableScore. add(BendableScore addend)
BendableScore
BendableScore. divide(double divisor)
BendableScore
BendableScore. multiply(double multiplicand)
BendableScore
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
BendableScore. power(double exponent)
BendableScore
BendableScore. subtract(BendableScore subtrahend)
BendableScore
BendableScore. withInitScore(int newInitScore)
BendableScore
BendableScore. zero()
static BendableScore
BendableScore. zero(int hardLevelsSize, int softLevelsSize)
Creates a newBendableScore
.Methods in org.optaplanner.core.api.score.buildin.bendable with parameters of type BendableScore Modifier and Type Method Description BendableScore
BendableScore. add(BendableScore addend)
int
BendableScore. compareTo(BendableScore other)
BendableScore
BendableScore. subtract(BendableScore subtrahend)
void
BendableScore. validateCompatible(BendableScore other)
-
Uses of BendableScore in org.optaplanner.core.impl.score.buildin
Methods in org.optaplanner.core.impl.score.buildin that return BendableScore Modifier and Type Method Description BendableScore
BendableScoreDefinition. buildOptimisticBound(InitializingScoreTrend initializingScoreTrend, BendableScore score)
BendableScore
BendableScoreDefinition. buildPessimisticBound(InitializingScoreTrend initializingScoreTrend, BendableScore score)
BendableScore
BendableScoreDefinition. createScore(int... scores)
BendableScore
BendableScoreDefinition. createScoreUninitialized(int initScore, int... scores)
BendableScore
BendableScoreDefinition. divideBySanitizedDivisor(BendableScore dividend, BendableScore divisor)
BendableScore
BendableScoreDefinition. fromLevelNumbers(int initScore, Number[] levelNumbers)
BendableScore
BendableScoreDefinition. getOneSoftestScore()
BendableScore
BendableScoreDefinition. getZeroScore()
BendableScore
BendableScoreDefinition. parseScore(String scoreString)
Methods in org.optaplanner.core.impl.score.buildin that return types with arguments of type BendableScore Modifier and Type Method Description Class<BendableScore>
BendableScoreDefinition. getScoreClass()
Methods in org.optaplanner.core.impl.score.buildin with parameters of type BendableScore Modifier and Type Method Description BendableScore
BendableScoreDefinition. buildOptimisticBound(InitializingScoreTrend initializingScoreTrend, BendableScore score)
BendableScore
BendableScoreDefinition. buildPessimisticBound(InitializingScoreTrend initializingScoreTrend, BendableScore score)
BendableScore
BendableScoreDefinition. divideBySanitizedDivisor(BendableScore dividend, BendableScore divisor)
-
Uses of BendableScore in org.optaplanner.persistence.jackson.api.score.buildin.bendable
Methods in org.optaplanner.persistence.jackson.api.score.buildin.bendable that return BendableScore Modifier and Type Method Description BendableScore
BendableScoreJacksonDeserializer. 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
Methods in org.optaplanner.persistence.jaxb.api.score.buildin.bendable that return BendableScore Modifier and Type Method Description BendableScore
BendableScoreJaxbAdapter. unmarshal(String scoreString)
-
Uses of BendableScore in org.optaplanner.persistence.jpa.api.score.buildin.bendable
Methods in org.optaplanner.persistence.jpa.api.score.buildin.bendable that return BendableScore Modifier and Type Method Description BendableScore
BendableScoreConverter. convertToEntityAttribute(String scoreString)
Methods in org.optaplanner.persistence.jpa.api.score.buildin.bendable with parameters of type BendableScore Modifier and Type Method Description String
BendableScoreConverter. convertToDatabaseColumn(BendableScore score)
-
Uses of BendableScore in org.optaplanner.persistence.jsonb.api.score.buildin.bendable
Methods in org.optaplanner.persistence.jsonb.api.score.buildin.bendable that return BendableScore Modifier and Type Method Description BendableScore
BendableScoreJsonbAdapter. adaptFromJson(String scoreString)
-