Uses of Class
org.optaplanner.core.api.score.buildin.bendablelong.BendableLongScore
-
Packages that use BendableLongScore Package Description org.optaplanner.core.api.score.buildin.bendablelong Support for aScore
with a configurable number of score levels andlong
score weights.org.optaplanner.core.impl.score.buildin.bendablelong org.optaplanner.persistence.jackson.api.score.buildin.bendablelong org.optaplanner.persistence.jaxb.api.score.buildin.bendablelong org.optaplanner.persistence.jpa.api.score.buildin.bendablelong org.optaplanner.persistence.jsonb.api.score.buildin.bendablelong -
-
Uses of BendableLongScore in org.optaplanner.core.api.score.buildin.bendablelong
Fields in org.optaplanner.core.api.score.buildin.bendablelong with type parameters of type BendableLongScore Modifier and Type Field Description protected Map<org.kie.api.definition.rule.Rule,BiConsumer<org.kie.api.runtime.rule.RuleContext,BendableLongScore>>
BendableLongScoreHolder. matchExecutorByScoreMap
Slower thanBendableLongScoreHolder.matchExecutorByNumberMap
Methods in org.optaplanner.core.api.score.buildin.bendablelong that return BendableLongScore Modifier and Type Method Description BendableLongScore
BendableLongScore. add(BendableLongScore addend)
BendableLongScore
BendableLongScore. divide(double divisor)
BendableLongScore
BendableLongScoreHolder. extractScore(int initScore)
BendableLongScore
BendableLongScore. multiply(double multiplicand)
BendableLongScore
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
BendableLongScore. power(double exponent)
BendableLongScore
BendableLongScore. subtract(BendableLongScore subtrahend)
static BendableLongScore
BendableLongScore. valueOf(long[] hardScores, long[] softScores)
Deprecated.in favor ofof(long[], long[])
static BendableLongScore
BendableLongScore. valueOfUninitialized(int initScore, long[] hardScores, long[] softScores)
Deprecated.in favor ofofUninitialized(int, long[], long[])
BendableLongScore
BendableLongScore. withInitScore(int newInitScore)
static BendableLongScore
BendableLongScore. zero(int hardLevelsSize, int softLevelsSize)
Creates a newBendableLongScore
.Methods in org.optaplanner.core.api.score.buildin.bendablelong with parameters of type BendableLongScore Modifier and Type Method Description BendableLongScore
BendableLongScore. add(BendableLongScore addend)
int
BendableLongScore. compareTo(BendableLongScore other)
void
BendableLongScoreHolder. configureConstraintWeight(org.kie.api.definition.rule.Rule rule, BendableLongScore constraintWeight)
BendableLongScore
BendableLongScore. subtract(BendableLongScore subtrahend)
void
BendableLongScore. validateCompatible(BendableLongScore other)
-
Uses of BendableLongScore in org.optaplanner.core.impl.score.buildin.bendablelong
Methods in org.optaplanner.core.impl.score.buildin.bendablelong that return BendableLongScore Modifier and Type Method Description BendableLongScore
BendableLongScoreDefinition. buildOptimisticBound(InitializingScoreTrend initializingScoreTrend, BendableLongScore score)
BendableLongScore
BendableLongScoreDefinition. buildPessimisticBound(InitializingScoreTrend initializingScoreTrend, BendableLongScore score)
BendableLongScore
BendableLongScoreDefinition. createScore(long... scores)
BendableLongScore
BendableLongScoreDefinition. createScoreUninitialized(int initScore, long... scores)
BendableLongScore
BendableLongScoreDefinition. divideBySanitizedDivisor(BendableLongScore dividend, BendableLongScore divisor)
BendableLongScore
BendableLongScoreInliner. extractScore(int initScore)
BendableLongScore
BendableLongScoreDefinition. fromLevelNumbers(int initScore, Number[] levelNumbers)
BendableLongScore
BendableLongScoreDefinition. getOneSoftestScore()
BendableLongScore
BendableLongScoreDefinition. getZeroScore()
BendableLongScore
BendableLongScoreDefinition. parseScore(String scoreString)
Methods in org.optaplanner.core.impl.score.buildin.bendablelong that return types with arguments of type BendableLongScore Modifier and Type Method Description Class<BendableLongScore>
BendableLongScoreDefinition. getScoreClass()
Methods in org.optaplanner.core.impl.score.buildin.bendablelong with parameters of type BendableLongScore Modifier and Type Method Description BendableLongScore
BendableLongScoreDefinition. buildOptimisticBound(InitializingScoreTrend initializingScoreTrend, BendableLongScore score)
BendableLongScore
BendableLongScoreDefinition. buildPessimisticBound(InitializingScoreTrend initializingScoreTrend, BendableLongScore score)
LongWeightedScoreImpacter
BendableLongScoreInliner. buildWeightedScoreImpacter(BendableLongScore constraintWeight)
BendableLongScore
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 BendableLongScore Modifier and Type Method Description BendableLongScore
BendableLongScoreJacksonJsonDeserializer. 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 BendableLongScore Modifier and Type Method Description BendableLongScore
BendableLongScoreJaxbXmlAdapter. unmarshal(String scoreString)
-
Uses of BendableLongScore in org.optaplanner.persistence.jpa.api.score.buildin.bendablelong
Methods in org.optaplanner.persistence.jpa.api.score.buildin.bendablelong that return BendableLongScore Modifier and Type Method Description BendableLongScore
BendableLongScoreConverter. convertToEntityAttribute(String scoreString)
Methods in org.optaplanner.persistence.jpa.api.score.buildin.bendablelong with parameters of type BendableLongScore Modifier and Type Method Description String
BendableLongScoreConverter. 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 BendableLongScore Modifier and Type Method Description BendableLongScore
BendableLongScoreJsonbAdapter. adaptFromJson(String scoreString)
-