Package com.artelys.kalis
Class KResourceSelector
- java.lang.Object
 - 
- com.artelys.kalis.KResourceSelector
 
 
- 
public class KResourceSelector extends java.lang.ObjectResource selection heuristic 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn 
- 
Constructor Summary
Constructors Modifier Constructor Description KResourceSelector()Empty constructorprotectedKResourceSelector(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 voiddelete()protected voidfinalize()KResourceSelectorgetCopyPtr()Return a copy of this task selectorprotected static longgetCPtr(KResourceSelector obj)java.lang.StringgetName()Return the name of this task selectorKProblemgetProblem()voidprintName()Pretty printingKResourceselectNextResource(KResourceArray resArray)virtual interface method to overload for definition of your own task selection heuristics
protected voidswigDirectorDisconnect()voidswigReleaseOwnership()voidswigTakeOwnership() 
 - 
 
- 
- 
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:
 finalizein 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 
 - 
 
 -