|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object be.ac.ua.broker.allocation.spot.model.SpotModel
public class SpotModel
The DecisionModel simulator was made for calculating PDF (Probability Density Function) and CDF (Cumulative Density Function) of on- and out-of-bid conditions on Amazon EC2 Spot instances.
Constructor Summary | |
---|---|
SpotModel()
|
Method Summary | |
---|---|
SpotPrice |
executeSimulation(InstanceSpecification spec,
int taskLength,
int hoursAvailable)
Execute the spot model simulation for the given instance and return the appropriate bid. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpotModel()
Method Detail |
---|
public SpotPrice executeSimulation(InstanceSpecification spec, int taskLength, int hoursAvailable) throws java.lang.Exception
spec
- the instance to do the simulation fortaskLength
- the length of the job to simulatehoursAvailable
- the number of hours the instance to run the task on is
available
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |