Uses of Class
org.optaplanner.core.api.score.buildin.bendable.BendableScore
-
Packages that use BendableScore Package Description 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.bendable 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.core.api.score.buildin.bendable
Fields in org.optaplanner.core.api.score.buildin.bendable with type parameters of type BendableScore Modifier and Type Field Description protected Map<org.kie.api.definition.rule.Rule,BiConsumer<org.kie.api.runtime.rule.RuleContext,BendableScore>>
BendableScoreHolder. matchExecutorByScoreMap
Slower thanBendableScoreHolder.matchExecutorByNumberMap
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
BendableScoreHolder. extractScore(int initScore)
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)
static BendableScore
BendableScore. valueOf(int[] hardScores, int[] softScores)
Deprecated.in favor ofof(int[], int[])
static BendableScore
BendableScore. valueOfUninitialized(int initScore, int[] hardScores, int[] softScores)
Deprecated.in favor ofofUninitialized(int, int[], int[])
BendableScore
BendableScore. withInitScore(int newInitScore)
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)
void
BendableScoreHolder. configureConstraintWeight(org.kie.api.definition.rule.Rule rule, BendableScore constraintWeight)
BendableScore
BendableScore. subtract(BendableScore subtrahend)
void
BendableScore. validateCompatible(BendableScore other)
-
Uses of BendableScore in org.optaplanner.core.impl.score.buildin.bendable
Methods in org.optaplanner.core.impl.score.buildin.bendable 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
BendableScoreInliner. extractScore(int initScore)
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.bendable 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.bendable with parameters of type BendableScore Modifier and Type Method Description BendableScore
BendableScoreDefinition. buildOptimisticBound(InitializingScoreTrend initializingScoreTrend, BendableScore score)
BendableScore
BendableScoreDefinition. buildPessimisticBound(InitializingScoreTrend initializingScoreTrend, BendableScore score)
IntWeightedScoreImpacter
BendableScoreInliner. buildWeightedScoreImpacter(BendableScore constraintWeight)
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
BendableScoreJacksonJsonDeserializer. 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
BendableScoreJaxbXmlAdapter. 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)
-