Package org.optaplanner.core.api.score.constraint

## Interface Indictment<Score_ extends Score<Score_>>

- Type Parameters:
    `Score_` - the actual score type
  All Known Implementing Classes:
    `DefaultIndictment`

      public interface Indictment<Score_ extends Score<Score_>>

  Explains the `Score` of a `PlanningSolution`, from the opposite side than `ConstraintMatchTotal`. Retrievable from `ScoreExplanation.getIndictmentMap()`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `default int` | `getConstraintMatchCount()` |
    `Set<ConstraintMatch<Score_>>` | `getConstraintMatchSet()` |
    `Object` | `getJustification()` |
    `Score_` | `getScore()` | Sum of the `getConstraintMatchSet()`'s `ConstraintMatch.getScore()`.

- - ### Method Detail

    - #### getJustification

          Object getJustification()

      Returns:
        never null

    - #### getConstraintMatchSet

          Set<ConstraintMatch<Score_>> getConstraintMatchSet()

      Returns:
        never null

    - #### getConstraintMatchCount

          default int getConstraintMatchCount()

      Returns:
        `>= 0`

    - #### getScore

          Score_ getScore()

      Sum of the `getConstraintMatchSet()`'s `ConstraintMatch.getScore()`.
      Returns:
        never null