Uses of Class
org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore
-
Packages that use HardSoftScore Package Description org.optaplanner.constraint.drl.holder org.optaplanner.core.api.score.buildin.hardsoft Support for aScorewith 2 score levels andintscore weights.org.optaplanner.core.impl.score.buildin 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.constraint.drl.holder
Fields in org.optaplanner.constraint.drl.holder with type parameters of type HardSoftScore Modifier and Type Field Description protected Map<org.kie.api.definition.rule.Rule,AbstractScoreHolder.ScoreMatchExecutor<HardSoftScore>>HardSoftScoreHolderImpl. matchExecutorByScoreMapSlower thanHardSoftScoreHolderImpl.matchExecutorByNumberMapMethods in org.optaplanner.constraint.drl.holder that return HardSoftScore Modifier and Type Method Description HardSoftScoreHardSoftScoreHolderImpl. extractScore(int initScore)Methods in org.optaplanner.constraint.drl.holder with parameters of type HardSoftScore Modifier and Type Method Description voidHardSoftScoreHolderImpl. configureConstraintWeight(org.kie.api.definition.rule.Rule rule, HardSoftScore constraintWeight) -
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. ZEROMethods in org.optaplanner.core.api.score.buildin.hardsoft that return HardSoftScore Modifier and Type Method Description HardSoftScoreHardSoftScore. add(HardSoftScore addend)HardSoftScoreHardSoftScore. divide(double divisor)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)HardSoftScoreHardSoftScore. withInitScore(int newInitScore)HardSoftScoreHardSoftScore. zero()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)HardSoftScoreHardSoftScore. subtract(HardSoftScore subtrahend) -
Uses of HardSoftScore in org.optaplanner.core.impl.score.buildin
Methods in org.optaplanner.core.impl.score.buildin 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)HardSoftScoreHardSoftScoreDefinition. fromLevelNumbers(int initScore, Number[] levelNumbers)HardSoftScoreHardSoftScoreDefinition. getOneSoftestScore()HardSoftScoreHardSoftScoreDefinition. getZeroScore()HardSoftScoreHardSoftScoreDefinition. parseScore(String scoreString)Methods in org.optaplanner.core.impl.score.buildin 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 with parameters of type HardSoftScore Modifier and Type Method Description HardSoftScoreHardSoftScoreDefinition. buildOptimisticBound(InitializingScoreTrend initializingScoreTrend, HardSoftScore score)HardSoftScoreHardSoftScoreDefinition. buildPessimisticBound(InitializingScoreTrend initializingScoreTrend, HardSoftScore score)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 HardSoftScoreHardSoftScoreJacksonDeserializer. 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 HardSoftScoreHardSoftScoreJaxbAdapter. 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)
-