Class ProjectJobSchedulingConstraintProvider

java.lang.Object
ai.timefold.solver.examples.projectjobscheduling.score.ProjectJobSchedulingConstraintProvider
All Implemented Interfaces:
ai.timefold.solver.core.api.score.stream.ConstraintProvider

public class ProjectJobSchedulingConstraintProvider extends Object implements ai.timefold.solver.core.api.score.stream.ConstraintProvider
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ai.timefold.solver.core.api.score.stream.Constraint[]
    defineConstraints(ai.timefold.solver.core.api.score.stream.ConstraintFactory constraintFactory)
     
    protected ai.timefold.solver.core.api.score.stream.Constraint
    nonRenewableResourceCapacity(ai.timefold.solver.core.api.score.stream.ConstraintFactory constraintFactory)
     
    protected ai.timefold.solver.core.api.score.stream.Constraint
    renewableResourceCapacity(ai.timefold.solver.core.api.score.stream.ConstraintFactory constraintFactory)
     
    protected ai.timefold.solver.core.api.score.stream.Constraint
    totalMakespan(ai.timefold.solver.core.api.score.stream.ConstraintFactory constraintFactory)
     
    protected ai.timefold.solver.core.api.score.stream.Constraint
    totalProjectDelay(ai.timefold.solver.core.api.score.stream.ConstraintFactory constraintFactory)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ProjectJobSchedulingConstraintProvider

      public ProjectJobSchedulingConstraintProvider()
  • Method Details

    • defineConstraints

      public ai.timefold.solver.core.api.score.stream.Constraint[] defineConstraints(ai.timefold.solver.core.api.score.stream.ConstraintFactory constraintFactory)
      Specified by:
      defineConstraints in interface ai.timefold.solver.core.api.score.stream.ConstraintProvider
    • nonRenewableResourceCapacity

      protected ai.timefold.solver.core.api.score.stream.Constraint nonRenewableResourceCapacity(ai.timefold.solver.core.api.score.stream.ConstraintFactory constraintFactory)
    • renewableResourceCapacity

      protected ai.timefold.solver.core.api.score.stream.Constraint renewableResourceCapacity(ai.timefold.solver.core.api.score.stream.ConstraintFactory constraintFactory)
    • totalProjectDelay

      protected ai.timefold.solver.core.api.score.stream.Constraint totalProjectDelay(ai.timefold.solver.core.api.score.stream.ConstraintFactory constraintFactory)
    • totalMakespan

      protected ai.timefold.solver.core.api.score.stream.Constraint totalMakespan(ai.timefold.solver.core.api.score.stream.ConstraintFactory constraintFactory)