#5, First Floor, 4th Street , Dr. Subbarayan Nagar, Kodambakkam, Chennai-600 024 pro@slogix.in

Office Address

  • #5, First Floor, 4th Street Dr. Subbarayan Nagar Kodambakkam, Chennai-600 024 Landmark : Samiyar Madam
  • pro@slogix.in
  • +91- 81240 01111

Social List

How can i create applications in EdgeCloudSim?

Description

The “LoadGeneratorModel.java” file should be extended and in the “initializeModel()” abstract method have to implement with our own task generated model. The default load generator model is poission distribution method

Sample Code

package edu.boun.edgecloudsim.task_generator;

import ……;
…..
import ……;

public class extendedLoadGenerator extends LoadGeneratorModel
{
int taskTypeOfDevices[];

public extendedLoadGenerator (int numberOfMobileDevices, double simulationTime, String simScenario)
{
super(_numberOfMobileDevices, _simulationTime, _simScenario);
}

@Override
public void initializeModel()
{
.
.
. To be coded for our own load generator model
.
}
@Override
public int getTaskTypeOfDevice(int deviceId) {
return taskTypeOfDevices[deviceId];
}
}