Class ExaminationConstraintProvider

  • All Implemented Interfaces:
    org.optaplanner.core.api.score.stream.ConstraintProvider

    public class ExaminationConstraintProvider
    extends Object
    implements org.optaplanner.core.api.score.stream.ConstraintProvider
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.optaplanner.core.api.score.stream.Constraint conflictingExamsInSamePeriod​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)  
      org.optaplanner.core.api.score.stream.Constraint[] defineConstraints​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)  
      protected org.optaplanner.core.api.score.stream.Constraint frontLoad​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)  
      protected org.optaplanner.core.api.score.stream.Constraint mixedDurations​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)  
      protected org.optaplanner.core.api.score.stream.Constraint periodDurationTooShort​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)  
      protected org.optaplanner.core.api.score.stream.Constraint periodPenalty​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)  
      protected org.optaplanner.core.api.score.stream.Constraint periodPenaltyAfter​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)  
      protected org.optaplanner.core.api.score.stream.Constraint periodPenaltyExamCoincidence​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)  
      protected org.optaplanner.core.api.score.stream.Constraint periodPenaltyExclusion​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)  
      protected org.optaplanner.core.api.score.stream.Constraint periodSpread​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)  
      protected org.optaplanner.core.api.score.stream.Constraint roomCapacityTooSmall​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)  
      protected org.optaplanner.core.api.score.stream.Constraint roomPenalty​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)  
      protected org.optaplanner.core.api.score.stream.Constraint roomPenaltyExclusive​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)  
      protected org.optaplanner.core.api.score.stream.Constraint twoExamsInADay​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)  
      protected org.optaplanner.core.api.score.stream.Constraint twoExamsInARow​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)  
    • Constructor Detail

      • ExaminationConstraintProvider

        public ExaminationConstraintProvider()
    • Method Detail

      • defineConstraints

        public org.optaplanner.core.api.score.stream.Constraint[] defineConstraints​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)
        Specified by:
        defineConstraints in interface org.optaplanner.core.api.score.stream.ConstraintProvider
      • conflictingExamsInSamePeriod

        protected org.optaplanner.core.api.score.stream.Constraint conflictingExamsInSamePeriod​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)
      • periodDurationTooShort

        protected org.optaplanner.core.api.score.stream.Constraint periodDurationTooShort​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)
      • roomCapacityTooSmall

        protected org.optaplanner.core.api.score.stream.Constraint roomCapacityTooSmall​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)
      • periodPenaltyExamCoincidence

        protected org.optaplanner.core.api.score.stream.Constraint periodPenaltyExamCoincidence​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)
      • periodPenaltyExclusion

        protected org.optaplanner.core.api.score.stream.Constraint periodPenaltyExclusion​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)
      • periodPenaltyAfter

        protected org.optaplanner.core.api.score.stream.Constraint periodPenaltyAfter​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)
      • roomPenaltyExclusive

        protected org.optaplanner.core.api.score.stream.Constraint roomPenaltyExclusive​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)
      • twoExamsInARow

        protected org.optaplanner.core.api.score.stream.Constraint twoExamsInARow​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)
      • twoExamsInADay

        protected org.optaplanner.core.api.score.stream.Constraint twoExamsInADay​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)
      • periodSpread

        protected org.optaplanner.core.api.score.stream.Constraint periodSpread​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)
      • mixedDurations

        protected org.optaplanner.core.api.score.stream.Constraint mixedDurations​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)
      • frontLoad

        protected org.optaplanner.core.api.score.stream.Constraint frontLoad​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)
      • periodPenalty

        protected org.optaplanner.core.api.score.stream.Constraint periodPenalty​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)
      • roomPenalty

        protected org.optaplanner.core.api.score.stream.Constraint roomPenalty​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)