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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.optaplanner.core.api.score.stream.Constraint[]defineConstraints(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)
-
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:
defineConstraintsin interfaceorg.optaplanner.core.api.score.stream.ConstraintProvider
-