Class TennisConstraintProvider

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

    public final class TennisConstraintProvider
    extends Object
    implements org.optaplanner.core.api.score.stream.ConstraintProvider
    • Constructor Detail

      • TennisConstraintProvider

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

        protected org.optaplanner.core.api.score.stream.Constraint oneAssignmentPerDatePerTeam​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)
      • unavailabilityPenalty

        protected org.optaplanner.core.api.score.stream.Constraint unavailabilityPenalty​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)
      • fairAssignmentCountPerTeam

        protected org.optaplanner.core.api.score.stream.Constraint fairAssignmentCountPerTeam​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)
      • evenlyConfrontationCount

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