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 aScorewith a configurable number of score levels andintscore 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
Methods in org.optaplanner.core.api.score.buildin.bendable that return BendableScore Modifier and Type Method Description BendableScoreBendableScore. add(BendableScore addend)BendableScoreBendableScore. divide(double divisor)BendableScoreBendableScore. multiply(double multiplicand)BendableScoreBendableScore. negate()static BendableScoreBendableScore. of(int[] hardScores, int[] softScores)Creates a newBendableScore.static BendableScoreBendableScore. ofHard(int hardLevelsSize, int softLevelsSize, int hardLevel, int hardScore)Creates a newBendableScore.static BendableScoreBendableScore. ofSoft(int hardLevelsSize, int softLevelsSize, int softLevel, int softScore)Creates a newBendableScore.static BendableScoreBendableScore. ofUninitialized(int initScore, int[] hardScores, int[] softScores)Creates a newBendableScore.static BendableScoreBendableScore. parseScore(String scoreString)BendableScoreBendableScore. power(double exponent)BendableScoreBendableScore. subtract(BendableScore subtrahend)BendableScoreBendableScore. withInitScore(int newInitScore)static BendableScoreBendableScore. 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 BendableScoreBendableScore. add(BendableScore addend)intBendableScore. compareTo(BendableScore other)BendableScoreBendableScore. subtract(BendableScore subtrahend)voidBendableScore. validateCompatible(BendableScore other) -
Uses of BendableScore in org.optaplanner.core.impl.score.buildin.bendable
Fields in org.optaplanner.core.impl.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>>BendableScoreHolderImpl. matchExecutorByScoreMapSlower thanBendableScoreHolderImpl.matchExecutorByNumberMapMethods in org.optaplanner.core.impl.score.buildin.bendable that return BendableScore Modifier and Type Method Description BendableScoreBendableScoreDefinition. buildOptimisticBound(InitializingScoreTrend initializingScoreTrend, BendableScore score)BendableScoreBendableScoreDefinition. buildPessimisticBound(InitializingScoreTrend initializingScoreTrend, BendableScore score)BendableScoreBendableScoreDefinition. createScore(int... scores)BendableScoreBendableScoreDefinition. createScoreUninitialized(int initScore, int... scores)BendableScoreBendableScoreDefinition. divideBySanitizedDivisor(BendableScore dividend, BendableScore divisor)BendableScoreBendableScoreHolderImpl. extractScore(int initScore)BendableScoreBendableScoreInliner. extractScore(int initScore)BendableScoreBendableScoreDefinition. fromLevelNumbers(int initScore, Number[] levelNumbers)BendableScoreBendableScoreDefinition. getOneSoftestScore()BendableScoreBendableScoreDefinition. getZeroScore()BendableScoreBendableScoreDefinition. 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 BendableScoreBendableScoreDefinition. buildOptimisticBound(InitializingScoreTrend initializingScoreTrend, BendableScore score)BendableScoreBendableScoreDefinition. buildPessimisticBound(InitializingScoreTrend initializingScoreTrend, BendableScore score)IntWeightedScoreImpacterBendableScoreInliner. buildWeightedScoreImpacter(BendableScore constraintWeight)voidBendableScoreHolderImpl. configureConstraintWeight(org.kie.api.definition.rule.Rule rule, BendableScore constraintWeight)BendableScoreBendableScoreDefinition. 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 BendableScoreBendableScoreJacksonDeserializer. 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 BendableScoreBendableScoreJaxbAdapter. 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 BendableScoreBendableScoreConverter. convertToEntityAttribute(String scoreString)Methods in org.optaplanner.persistence.jpa.api.score.buildin.bendable with parameters of type BendableScore Modifier and Type Method Description StringBendableScoreConverter. 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 BendableScoreBendableScoreJsonbAdapter. adaptFromJson(String scoreString)
-