Class WorkingHoursExceededAutoFilterConstraint

All Implemented Interfaces:
IAutoFilterNodeConstraint, Serializable

public class WorkingHoursExceededAutoFilterConstraint extends AbstractAutoFilterConstraint
See Also:
  • Field Details

  • Constructor Details

    • WorkingHoursExceededAutoFilterConstraint

      public WorkingHoursExceededAutoFilterConstraint()
  • Method Details

    • getTitle

      public String getTitle()
      Specified by:
      getTitle in class AbstractAutoFilterConstraint
    • getQuotient

      public double getQuotient(IAutoFilterViolationAndConstrainCollector collector)
      Specified by:
      getQuotient in class AbstractAutoFilterConstraint
    • getThreshold

      public double getThreshold()
      Description copied from interface: IAutoFilterNodeConstraint
      Gets the threshold of the Node which the constraint factor has to reach in order to be filtered out.

      The Nodes are evaluated several times whether they are in a constraint state or not. The factor of being in a constraint state is calculated by number of evaluation divided by the times the Node was in a constraint state. The value is usually between 0.99 and 0.8

      the threshold
    • getThresholdLastRun

      public double getThresholdLastRun()
      Description copied from interface: IAutoFilterNodeConstraint
      Gets the threshold from the last run which usually is set to be lower, usually between 0.8 and 0.4.

      The very last run of an optimization should have as few problems as possible. This is why the threshold in the last run is lower in order to filter as many problematic Nodes as possible.

      the treshold
    • getAttachedCost

      public double getAttachedCost(INode node, ILogicEntityRoute curRoute, IEntity en, provider)
      Specified by:
      getAttachedCost in class AbstractAutoFilterConstraint