Class ExaminationConstraintProvider
- java.lang.Object
-
- org.optaplanner.examples.examination.optional.score.ExaminationConstraintProvider
-
- All Implemented Interfaces:
org.optaplanner.core.api.score.stream.ConstraintProvider
public class ExaminationConstraintProvider extends Object implements org.optaplanner.core.api.score.stream.ConstraintProvider
-
-
Constructor Summary
Constructors Constructor Description ExaminationConstraintProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.optaplanner.core.api.score.stream.ConstraintconflictingExamsInSamePeriod(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.ConstraintfrontLoad(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)protected org.optaplanner.core.api.score.stream.ConstraintmixedDurations(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)protected org.optaplanner.core.api.score.stream.ConstraintperiodDurationTooShort(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)protected org.optaplanner.core.api.score.stream.ConstraintperiodPenalty(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)protected org.optaplanner.core.api.score.stream.ConstraintperiodPenaltyAfter(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)protected org.optaplanner.core.api.score.stream.ConstraintperiodPenaltyExamCoincidence(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)protected org.optaplanner.core.api.score.stream.ConstraintperiodPenaltyExclusion(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)protected org.optaplanner.core.api.score.stream.ConstraintperiodSpread(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)protected org.optaplanner.core.api.score.stream.ConstraintroomCapacityTooSmall(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)protected org.optaplanner.core.api.score.stream.ConstraintroomPenalty(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)protected org.optaplanner.core.api.score.stream.ConstraintroomPenaltyExclusive(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)protected org.optaplanner.core.api.score.stream.ConstrainttwoExamsInADay(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)protected org.optaplanner.core.api.score.stream.ConstrainttwoExamsInARow(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)
-
-
-
Method Detail
-
defineConstraints
public org.optaplanner.core.api.score.stream.Constraint[] defineConstraints(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)
- Specified by:
defineConstraintsin interfaceorg.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)
-
-