Class CheapTimeConstraintProvider

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

    public class CheapTimeConstraintProvider
    extends Object
    implements org.optaplanner.core.api.score.stream.ConstraintProvider
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.optaplanner.core.api.score.stream.Constraint activeMachinePowerCost​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)  
      protected org.optaplanner.core.api.score.stream.Constraint activeMachineSpinUpAndDownCost​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)  
      org.optaplanner.core.api.score.stream.Constraint[] defineConstraints​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)  
      protected org.optaplanner.core.api.score.stream.Constraint idleCosts​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)  
      protected org.optaplanner.core.api.score.stream.Constraint maximumCapacity​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)  
      protected org.optaplanner.core.api.score.stream.Constraint startEarly​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)  
      protected org.optaplanner.core.api.score.stream.Constraint startTimeLimitsFrom​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)  
      protected org.optaplanner.core.api.score.stream.Constraint startTimeLimitsTo​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)  
      protected org.optaplanner.core.api.score.stream.Constraint taskPowerCost​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)  
    • Constructor Detail

      • CheapTimeConstraintProvider

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

        protected org.optaplanner.core.api.score.stream.Constraint startTimeLimitsFrom​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)
      • startTimeLimitsTo

        protected org.optaplanner.core.api.score.stream.Constraint startTimeLimitsTo​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)
      • maximumCapacity

        protected org.optaplanner.core.api.score.stream.Constraint maximumCapacity​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)
      • activeMachinePowerCost

        protected org.optaplanner.core.api.score.stream.Constraint activeMachinePowerCost​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)
      • activeMachineSpinUpAndDownCost

        protected org.optaplanner.core.api.score.stream.Constraint activeMachineSpinUpAndDownCost​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)
      • idleCosts

        protected org.optaplanner.core.api.score.stream.Constraint idleCosts​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)
      • taskPowerCost

        protected org.optaplanner.core.api.score.stream.Constraint taskPowerCost​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)
      • startEarly

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