## 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 a `Score` with 2 score levels and `int` score 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 HardSoftScore` | HardSoftScore.`ONE_HARD` |
    `static HardSoftScore` | HardSoftScore.`ONE_SOFT` |
    `static HardSoftScore` | HardSoftScore.`ZERO` |

    Methods in org.optaplanner.core.api.score.buildin.hardsoft that return HardSoftScore
    Modifier and Type | Method | Description
    --- | --- | ---
    `HardSoftScore` | HardSoftScore.`add​(HardSoftScore addend)` |
    `HardSoftScore` | HardSoftScore.`divide​(double divisor)` |
    `HardSoftScore` | HardSoftScore.`multiply​(double multiplicand)` |
    `HardSoftScore` | HardSoftScore.`negate()` |
    `static HardSoftScore` | HardSoftScore.`of​(int hardScore, int softScore)` |
    `static HardSoftScore` | HardSoftScore.`ofHard​(int hardScore)` |
    `static HardSoftScore` | HardSoftScore.`ofSoft​(int softScore)` |
    `static HardSoftScore` | HardSoftScore.`ofUninitialized​(int initScore, int hardScore, int softScore)` |
    `static HardSoftScore` | HardSoftScore.`parseScore​(String scoreString)` |
    `HardSoftScore` | HardSoftScore.`power​(double exponent)` |
    `HardSoftScore` | HardSoftScore.`subtract​(HardSoftScore subtrahend)` |
    `HardSoftScore` | HardSoftScore.`withInitScore​(int newInitScore)` |

    Methods in org.optaplanner.core.api.score.buildin.hardsoft with parameters of type HardSoftScore
    Modifier and Type | Method | Description
    --- | --- | ---
    `HardSoftScore` | HardSoftScore.`add​(HardSoftScore addend)` |
    `int` | HardSoftScore.`compareTo​(HardSoftScore other)` |
    `HardSoftScore` | HardSoftScore.`subtract​(HardSoftScore subtrahend)` |

  - ### Uses of HardSoftScore in org.optaplanner.core.impl.score.buildin.hardsoft

    Fields in org.optaplanner.core.impl.score.buildin.hardsoft with type parameters of type HardSoftScore
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected Map<org.kie.api.definition.rule.Rule,​AbstractScoreHolder.ScoreMatchExecutor<HardSoftScore>>` | HardSoftScoreHolderImpl.`matchExecutorByScoreMap` | Slower than `HardSoftScoreHolderImpl.matchExecutorByNumberMap`

    Methods in org.optaplanner.core.impl.score.buildin.hardsoft that return HardSoftScore
    Modifier and Type | Method | Description
    --- | --- | ---
    `HardSoftScore` | HardSoftScoreDefinition.`buildOptimisticBound​(InitializingScoreTrend initializingScoreTrend, HardSoftScore score)` |
    `HardSoftScore` | HardSoftScoreDefinition.`buildPessimisticBound​(InitializingScoreTrend initializingScoreTrend, HardSoftScore score)` |
    `HardSoftScore` | HardSoftScoreDefinition.`divideBySanitizedDivisor​(HardSoftScore dividend, HardSoftScore divisor)` |
    `HardSoftScore` | HardSoftScoreHolderImpl.`extractScore​(int initScore)` |
    `HardSoftScore` | HardSoftScoreInliner.`extractScore​(int initScore)` |
    `HardSoftScore` | HardSoftScoreDefinition.`fromLevelNumbers​(int initScore, Number[] levelNumbers)` |
    `HardSoftScore` | HardSoftScoreDefinition.`getOneSoftestScore()` |
    `HardSoftScore` | HardSoftScoreDefinition.`getZeroScore()` |
    `HardSoftScore` | HardSoftScoreDefinition.`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
    --- | --- | ---
    `HardSoftScore` | HardSoftScoreDefinition.`buildOptimisticBound​(InitializingScoreTrend initializingScoreTrend, HardSoftScore score)` |
    `HardSoftScore` | HardSoftScoreDefinition.`buildPessimisticBound​(InitializingScoreTrend initializingScoreTrend, HardSoftScore score)` |
    `void` | HardSoftScoreHolderImpl.`configureConstraintWeight​(org.kie.api.definition.rule.Rule rule, HardSoftScore constraintWeight)` |
    `HardSoftScore` | HardSoftScoreDefinition.`divideBySanitizedDivisor​(HardSoftScore dividend, HardSoftScore divisor)` |

    Method parameters in org.optaplanner.core.impl.score.buildin.hardsoft with type arguments of type HardSoftScore
    Modifier and Type | Method | Description
    --- | --- | ---
    `HardSoftScoreInliner` | HardSoftScoreDefinition.`buildScoreInliner​(Map<Constraint,​HardSoftScore> constraintToWeightMap, boolean constraintMatchEnabled)` |

    Constructor parameters in org.optaplanner.core.impl.score.buildin.hardsoft with type arguments of type HardSoftScore
    Constructor | Description
    --- | ---
    `HardSoftScoreInliner​(Map<Constraint,​HardSoftScore> constraintIdToWeightMap, boolean constraintMatchEnabled)` |

  - ### 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
    --- | --- | ---
    `HardSoftScore` | HardSoftScoreJacksonDeserializer.`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
    --- | --- | ---
    `HardSoftScore` | HardSoftScoreJaxbAdapter.`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
    --- | --- | ---
    `HardSoftScore` | HardSoftScoreConverter.`convertToEntityAttribute​(String scoreString)` |

    Methods in org.optaplanner.persistence.jpa.api.score.buildin.hardsoft with parameters of type HardSoftScore
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | HardSoftScoreConverter.`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
    --- | --- | ---
    `HardSoftScore` | HardSoftScoreJsonbAdapter.`adaptFromJson​(String scoreString)` |