KResourceSelector

class KResourceSelector

Resource selection heuristic

Public Functions

KResourceSelector()

Empty constructor

KResourceSelector(KProblem *problem)

Constructor with KProblem

KResourceSelector(const KResourceSelector &selectorToCopy)

Copy constructor

virtual ~KResourceSelector()

Destructor.

virtual KResource *selectNextResource(KResourceArray *resArray)

virtual interface method to overload for definition of your own task selection heuristics

Parameters

intVarArray – Array of variable from wich selecting a variable

virtual KResourceSelector *getCopyPtr() const

Return a copy of this task selector

inline virtual void printName() const

Pretty printing

inline virtual const char *getName() const

Return the name of this task selector