|
GridSim 5.0 beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object RuntimePredicate
public class RuntimePredicate
This predicate filters jobs according to their runtime
Constructor Summary | |
---|---|
RuntimePredicate(int minRuntime,
int maxRuntime,
int rating)
Default constructor |
Method Summary | |
---|---|
boolean |
match(ScheduleItem item)
Checks whether a given job meets the criteria of the partition or category |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RuntimePredicate(int minRuntime, int maxRuntime, int rating)
minRuntime
- jobs with smaller runtime are filtered out by this predicatemaxRuntime
- jobs with greater runtime are filtered out by this predicaterating
- the rating in MIPS of the resource that uses this predicateMethod Detail |
---|
public boolean match(ScheduleItem item)
match
in interface PartitionPredicate
item
- the job/reservation to be considered for scheduling.
true
if the job can be included in this
partition; false
otherwise.
|
GridSim 5.0 beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |