Class Experiment
java.lang.Object
|
+--Experiment
- public class Experiment
- extends java.lang.Object
The User Experiment paramter class.
Constructor Summary |
Experiment(int id,
gridsim.GridletList glList,
int OptimizationStrategy,
boolean DB_factor_flag,
double D_factor_OR_deadline,
double B_factor_OR_budget,
java.lang.String report_file,
java.lang.String[] resources_name_list)
Create parameters associated with the user experiment. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OPTIMIZE_COST
public static final int OPTIMIZE_COST
- See Also:
- Constant Field Values
OPTIMIZE_COST_PLUS
public static final int OPTIMIZE_COST_PLUS
- See Also:
- Constant Field Values
OPTIMIZE_COST_TIME
public static final int OPTIMIZE_COST_TIME
- See Also:
- Constant Field Values
OPTIMIZE_TIME
public static final int OPTIMIZE_TIME
- See Also:
- Constant Field Values
OPTIMIZE_NONE
public static final int OPTIMIZE_NONE
- See Also:
- Constant Field Values
Experiment
public Experiment(int id,
gridsim.GridletList glList,
int OptimizationStrategy,
boolean DB_factor_flag,
double D_factor_OR_deadline,
double B_factor_OR_budget,
java.lang.String report_file,
java.lang.String[] resources_name_list)
- Create parameters associated with the user experiment.
- Parameters:
id
- - experiment IDglList
- - A list containing Gridlets that has details on the list of the jobs.OptimizationStrategy
- - optimise for time, cost,..DB_factor_flag
- - true if the next two parameters are D_factor and B_factor and the User
expects the Broker to determine actual deadline and budget based on these to relaxation parametersD_factor_OR_deadline
- - if DB_factor_flag is true, then it is D_factor; otherwise, it is deadline value.B_factor_OR_budget
- - if DB_factor_flag is true, then it is B_factor; otherwise, it is budget value.report_file
- - the name of the file into which Scheduling report is to placed.
GetID
public int GetID()
GetGridletList
public gridsim.GridletList GetGridletList()
GetResourcesNameList
public java.lang.String[] GetResourcesNameList()
GetOptimizationStrategy
public int GetOptimizationStrategy()
GetOptimizationStrategyName
public java.lang.String GetOptimizationStrategyName()
Get_DB_factor_flag
public boolean Get_DB_factor_flag()
GetB_factor
public double GetB_factor()
GetD_factor
public double GetD_factor()
SetDeadline
public void SetDeadline(double deadline)
GetDeadline
public double GetDeadline()
GetDeadlineTime
public double GetDeadlineTime()
SetBudget
public void SetBudget(double budget)
GetBudget
public double GetBudget()
SetDeadlineBudget
public void SetDeadlineBudget(double deadline,
double budget)
GetReportFileName
public java.lang.String GetReportFileName()
SetStartTime
public void SetStartTime()
- Set Current Time as Experiment Start Time.
GetStartTime
public double GetStartTime()
SetEndTime
public void SetEndTime()
GetEndTime
public double GetEndTime()
GetNoOfGridlets
public int GetNoOfGridlets()
GetBudgetSpent
public double GetBudgetSpent()
GetNoOfSuccessfulGridlets
public int GetNoOfSuccessfulGridlets()
IsSuccessful
public boolean IsSuccessful()
GridletCompletionFactor
public double GridletCompletionFactor()
TimeUtilizationFactor
public double TimeUtilizationFactor()
BudgetUtilizationFactor
public double BudgetUtilizationFactor()
GetAllGridletsLengthAccumulator
public gridsim.Accumulator GetAllGridletsLengthAccumulator()