Class JustificationsSupplier


  • public final class JustificationsSupplier
    extends Object
    Allows to create justifications and indictments lazily if and only if constraint matches are enabled. Justification and indictment creation is performance expensive and constraint matches are typically disabled. So justifications and indictments are created lazily, outside of the typical hot path.
    • Method Detail

      • createConstraintJustification

        public org.optaplanner.core.api.score.stream.ConstraintJustification createConstraintJustification​(org.optaplanner.core.api.score.Score<?> impact)