Class TimeTableConstraintProvider

java.lang.Object
org.apache.camel.quarkus.component.optaplanner.it.solver.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 Details

    • TimeTableConstraintProvider

      public TimeTableConstraintProvider()
  • Method Details

    • 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