Class TimeTableConstraintProvider

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

    public class TimeTableConstraintProvider
    extends Object
    implements org.optaplanner.core.api.score.stream.ConstraintProvider
    adapted from optaplanner quarkus quickstart : https://github.com/kiegroup/optaplanner-quickstarts/tree/stable/use-cases/school-timetabling
    • Constructor Detail

      • TimeTableConstraintProvider

        public TimeTableConstraintProvider()
    • 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