Package com.artelys.kalis
Class KResourceSelector
- java.lang.Object
-
- com.artelys.kalis.KResourceSelector
-
public class KResourceSelector extends java.lang.Object
Resource selection heuristic
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
swigCMemOwn
-
Constructor Summary
Constructors Modifier Constructor Description KResourceSelector()
Empty constructorprotected
KResourceSelector(long cPtr, boolean cMemoryOwn)
KResourceSelector(KProblem problem)
Constructor with KProblemKResourceSelector(KResourceSelector selectorToCopy)
Copy constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
protected void
finalize()
KResourceSelector
getCopyPtr()
Return a copy of this task selectorprotected static long
getCPtr(KResourceSelector obj)
java.lang.String
getName()
Return the name of this task selectorKProblem
getProblem()
void
printName()
Pretty printingKResource
selectNextResource(KResourceArray resArray)
virtual interface method to overload for definition of your own task selection heuristics
protected void
swigDirectorDisconnect()
void
swigReleaseOwnership()
void
swigTakeOwnership()
-
-
-
Constructor Detail
-
KResourceSelector
protected KResourceSelector(long cPtr, boolean cMemoryOwn)
-
KResourceSelector
public KResourceSelector()
Empty constructor
-
KResourceSelector
public KResourceSelector(KProblem problem)
Constructor with KProblem
-
KResourceSelector
public KResourceSelector(KResourceSelector selectorToCopy)
Copy constructor
-
-
Method Detail
-
getCPtr
protected static long getCPtr(KResourceSelector 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()
-
selectNextResource
public KResource selectNextResource(KResourceArray resArray)
virtual interface method to overload for definition of your own task selection heuristics
-
getCopyPtr
public KResourceSelector getCopyPtr()
Return 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
-
-