Ignore:
Timestamp:
11/30/12 10:23:59 (12 years ago)
Author:
wojtekp
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/trunk/src/test/article/recs/plugins/scheduling/RecsExclusivenessRandomSP.java

    r658 r679  
    11package test.article.recs.plugins.scheduling; 
     2 
     3import gridsim.dcworms.DCWormsTags; 
    24 
    35import java.util.ArrayList; 
     
    2527import schedframe.scheduling.queue.TaskQueueList; 
    2628import schedframe.scheduling.tasks.TaskInterface; 
    27 import example.localplugin.BaseLocalSchedulingPlugin; 
    28 import gridsim.dcworms.DCWormsTags; 
    2929 
    30 public class RecsExclusivenessRandomSP extends BaseLocalSchedulingPlugin { 
     30public class RecsExclusivenessRandomSP extends RecsSP { 
    3131 
    3232        private Random rand = new Random(5); 
     
    4949                        for (int i = 0; i < q.size(); i++) { 
    5050                                TaskInterface<?> task = q.get(i); 
     51                                initApplicationType(task); 
     52                                 
    5153                                // if status of the tasks in READY 
    5254                                if (task.getStatus() == DCWormsTags.READY) { 
Note: See TracChangeset for help on using the changeset viewer.