|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object be.ac.ua.broker.scheduling.workload.wm2.RealOptimizer
public class RealOptimizer
This class is used to perform the optimized/spot-optimized scheduling for workload model two tasks. The RealOptimizer is used to perform the scheduling within a bucket. The tasks are evenly distributed across buckets, to make the algorithm feasible.
Constructor Summary | |
---|---|
RealOptimizer(boolean use_spot_optimalization)
Constructor for RealOptimizer |
Method Summary | |
---|---|
void |
add(WorkloadWM2 wl)
Add the provided workload to the scheduling optimizer. |
java.util.List<ScheduledTaskCollection> |
determineOptimal()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RealOptimizer(boolean use_spot_optimalization)
use_spot_optimalization
- whether spot-optimized scheduling is performed.Method Detail |
---|
public void add(WorkloadWM2 wl)
Optimizer
add
in interface Optimizer<WorkloadWM2>
wl
- the workload to add.public java.util.List<ScheduledTaskCollection> determineOptimal()
determineOptimal
in interface Optimizer<WorkloadWM2>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |