Class KTaskSelector

java.lang.Object
com.artelys.kalis.KTaskSelector
Direct Known Subclasses:
KLargestDurationDomain, KLargestEarliestCompletionTime, KLargestEarliestStartTime, KLargestLatestCompletionTime, KLargestLatestStartTime, KSmallestEarliestCompletionTime, KSmallestEarliestStartTime, KSmallestLatestCompletionTime, KSmallestLatestStartTime, KSmallestTargetStartTime, KTaskInputOrder, KTaskRandomOrder

public class KTaskSelector extends Object
Abstract interface class for task selection heuristic
A custom scheduling optimization strategy can be specified by using the
KTaskSerializer branching scheme to select the task to be scheduled and value
choice heuristics for its start and duration variables.



Since:
2016.1
See Also:
KSmallestEarliestCompletionTime KLargestEarliestStartTime KLargestEarliestCompletionTime KSmallestLatestStartTime KSmallestLatestCompletionTime KLargestLatestStartTime KLargestLatestCompletionTime
  • Field Details

    • swigCMemOwn

      protected transient boolean swigCMemOwn
  • Constructor Details

    • KTaskSelector

      protected KTaskSelector(long cPtr, boolean cMemoryOwn)
    • KTaskSelector

      public KTaskSelector()
      Empty constructor
    • KTaskSelector

      public KTaskSelector(KProblem problem)
      Constructor with KProblem
    • KTaskSelector

      public KTaskSelector(KTaskSelector selectorToCopy)
      Copy constructor
  • Method Details

    • getCPtr

      protected static long getCPtr(KTaskSelector obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • delete

      public void delete()
    • swigDirectorDisconnect

      protected void swigDirectorDisconnect()
    • swigReleaseOwnership

      public void swigReleaseOwnership()
    • swigTakeOwnership

      public void swigTakeOwnership()
    • getProblem

      public KProblem getProblem()
    • selectNextTask

      public KTask selectNextTask(KTaskArray taskArray)
      virtual interface method to overload for definition of your own task selection heuristics

    • getCopyPtr

      public KTaskSelector getCopyPtr()
      Return a copy of this task selector

      Returns:
      a copy of this task selector
    • printName

      public void printName()
      Pretty printing
    • getName

      public String getName()
      Return the name of this task selector