Changeset 679 for DCWoRMS/trunk/src/test/article/recs/plugins/scheduling/RecsExclusivenessRandomSP.java
- Timestamp:
- 11/30/12 10:23:59 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/trunk/src/test/article/recs/plugins/scheduling/RecsExclusivenessRandomSP.java
r658 r679 1 1 package test.article.recs.plugins.scheduling; 2 3 import gridsim.dcworms.DCWormsTags; 2 4 3 5 import java.util.ArrayList; … … 25 27 import schedframe.scheduling.queue.TaskQueueList; 26 28 import schedframe.scheduling.tasks.TaskInterface; 27 import example.localplugin.BaseLocalSchedulingPlugin;28 import gridsim.dcworms.DCWormsTags;29 29 30 public class RecsExclusivenessRandomSP extends BaseLocalSchedulingPlugin{30 public class RecsExclusivenessRandomSP extends RecsSP { 31 31 32 32 private Random rand = new Random(5); … … 49 49 for (int i = 0; i < q.size(); i++) { 50 50 TaskInterface<?> task = q.get(i); 51 initApplicationType(task); 52 51 53 // if status of the tasks in READY 52 54 if (task.getStatus() == DCWormsTags.READY) {
Note: See TracChangeset
for help on using the changeset viewer.