Uses of Class
org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore
-
Packages that use HardSoftScore Package Description org.optaplanner.core.api.score.buildin.hardsoft Support for aScorewith 2 score levels andintscore weights.org.optaplanner.core.impl.score.buildin.hardsoft org.optaplanner.persistence.jackson.api.score.buildin.hardsoft org.optaplanner.persistence.jaxb.api.score.buildin.hardsoft org.optaplanner.persistence.jpa.api.score.buildin.hardsoft org.optaplanner.persistence.jsonb.api.score.buildin.hardsoft -
-
Uses of HardSoftScore in org.optaplanner.core.api.score.buildin.hardsoft
Fields in org.optaplanner.core.api.score.buildin.hardsoft declared as HardSoftScore Modifier and Type Field Description static HardSoftScoreHardSoftScore. ONE_HARDstatic HardSoftScoreHardSoftScore. ONE_SOFTstatic HardSoftScoreHardSoftScore. ZEROFields in org.optaplanner.core.api.score.buildin.hardsoft with type parameters of type HardSoftScore Modifier and Type Field Description protected Map<org.kie.api.definition.rule.Rule,BiConsumer<org.kie.api.runtime.rule.RuleContext,HardSoftScore>>HardSoftScoreHolder. matchExecutorByScoreMapSlower thanHardSoftScoreHolder.matchExecutorByNumberMapMethods in org.optaplanner.core.api.score.buildin.hardsoft that return HardSoftScore Modifier and Type Method Description HardSoftScoreHardSoftScore. add(HardSoftScore addend)HardSoftScoreHardSoftScore. divide(double divisor)HardSoftScoreHardSoftScoreHolder. extractScore(int initScore)HardSoftScoreHardSoftScore. multiply(double multiplicand)HardSoftScoreHardSoftScore. negate()static HardSoftScoreHardSoftScore. of(int hardScore, int softScore)static HardSoftScoreHardSoftScore. ofHard(int hardScore)static HardSoftScoreHardSoftScore. ofSoft(int softScore)static HardSoftScoreHardSoftScore. ofUninitialized(int initScore, int hardScore, int softScore)static HardSoftScoreHardSoftScore. parseScore(String scoreString)HardSoftScoreHardSoftScore. power(double exponent)HardSoftScoreHardSoftScore. subtract(HardSoftScore subtrahend)static HardSoftScoreHardSoftScore. valueOf(int hardScore, int softScore)Deprecated.in favor ofof(int, int)static HardSoftScoreHardSoftScore. valueOfUninitialized(int initScore, int hardScore, int softScore)Deprecated.in favor ofofUninitialized(int, int, int)HardSoftScoreHardSoftScore. withInitScore(int newInitScore)Methods in org.optaplanner.core.api.score.buildin.hardsoft with parameters of type HardSoftScore Modifier and Type Method Description HardSoftScoreHardSoftScore. add(HardSoftScore addend)intHardSoftScore. compareTo(HardSoftScore other)voidHardSoftScoreHolder. configureConstraintWeight(org.kie.api.definition.rule.Rule rule, HardSoftScore constraintWeight)HardSoftScoreHardSoftScore. subtract(HardSoftScore subtrahend) -
Uses of HardSoftScore in org.optaplanner.core.impl.score.buildin.hardsoft
Methods in org.optaplanner.core.impl.score.buildin.hardsoft that return HardSoftScore Modifier and Type Method Description HardSoftScoreHardSoftScoreDefinition. buildOptimisticBound(InitializingScoreTrend initializingScoreTrend, HardSoftScore score)HardSoftScoreHardSoftScoreDefinition. buildPessimisticBound(InitializingScoreTrend initializingScoreTrend, HardSoftScore score)HardSoftScoreHardSoftScoreDefinition. divideBySanitizedDivisor(HardSoftScore dividend, HardSoftScore divisor)HardSoftScoreHardSoftScoreInliner. extractScore(int initScore)HardSoftScoreHardSoftScoreDefinition. fromLevelNumbers(int initScore, Number[] levelNumbers)HardSoftScoreHardSoftScoreDefinition. getOneSoftestScore()HardSoftScoreHardSoftScoreDefinition. getZeroScore()HardSoftScoreHardSoftScoreDefinition. parseScore(String scoreString)Methods in org.optaplanner.core.impl.score.buildin.hardsoft that return types with arguments of type HardSoftScore Modifier and Type Method Description Class<HardSoftScore>HardSoftScoreDefinition. getScoreClass()Methods in org.optaplanner.core.impl.score.buildin.hardsoft with parameters of type HardSoftScore Modifier and Type Method Description HardSoftScoreHardSoftScoreDefinition. buildOptimisticBound(InitializingScoreTrend initializingScoreTrend, HardSoftScore score)HardSoftScoreHardSoftScoreDefinition. buildPessimisticBound(InitializingScoreTrend initializingScoreTrend, HardSoftScore score)IntWeightedScoreImpacterHardSoftScoreInliner. buildWeightedScoreImpacter(HardSoftScore constraintWeight)HardSoftScoreHardSoftScoreDefinition. divideBySanitizedDivisor(HardSoftScore dividend, HardSoftScore divisor) -
Uses of HardSoftScore in org.optaplanner.persistence.jackson.api.score.buildin.hardsoft
Methods in org.optaplanner.persistence.jackson.api.score.buildin.hardsoft that return HardSoftScore Modifier and Type Method Description HardSoftScoreHardSoftScoreJacksonJsonDeserializer. deserialize(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext context) -
Uses of HardSoftScore in org.optaplanner.persistence.jaxb.api.score.buildin.hardsoft
Methods in org.optaplanner.persistence.jaxb.api.score.buildin.hardsoft that return HardSoftScore Modifier and Type Method Description HardSoftScoreHardSoftScoreJaxbXmlAdapter. unmarshal(String scoreString) -
Uses of HardSoftScore in org.optaplanner.persistence.jpa.api.score.buildin.hardsoft
Methods in org.optaplanner.persistence.jpa.api.score.buildin.hardsoft that return HardSoftScore Modifier and Type Method Description HardSoftScoreHardSoftScoreConverter. convertToEntityAttribute(String scoreString)Methods in org.optaplanner.persistence.jpa.api.score.buildin.hardsoft with parameters of type HardSoftScore Modifier and Type Method Description StringHardSoftScoreConverter. convertToDatabaseColumn(HardSoftScore score) -
Uses of HardSoftScore in org.optaplanner.persistence.jsonb.api.score.buildin.hardsoft
Methods in org.optaplanner.persistence.jsonb.api.score.buildin.hardsoft that return HardSoftScore Modifier and Type Method Description HardSoftScoreHardSoftScoreJsonbAdapter. adaptFromJson(String scoreString)
-