Package com.artelys.kalis
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 java.lang.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.
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
swigCMemOwn
-
Constructor Summary
Constructors Modifier Constructor Description KTaskSelector()
Empty constructorprotected
KTaskSelector(long cPtr, boolean cMemoryOwn)
KTaskSelector(KProblem problem)
Constructor with KProblemKTaskSelector(KTaskSelector selectorToCopy)
Copy constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
protected void
finalize()
KTaskSelector
getCopyPtr()
Return a copy of this task selector
protected static long
getCPtr(KTaskSelector obj)
java.lang.String
getName()
Return the name of this task selectorKProblem
getProblem()
void
printName()
Pretty printingKTask
selectNextTask(KTaskArray taskArray)
virtual interface method to overload for definition of your own task selection heuristics
protected void
swigDirectorDisconnect()
void
swigReleaseOwnership()
void
swigTakeOwnership()
-
-
-
Constructor Detail
-
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 Detail
-
getCPtr
protected static long getCPtr(KTaskSelector obj)
-
finalize
protected void finalize()
- Overrides:
finalize
in classjava.lang.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 java.lang.String getName()
Return the name of this task selector
-
-