GETTING STARTED
This is a short example on how to use the gridsim.datagrid packages.
Through this tutorial we will learn how to properly set up the
simulation and how to write your custom simulation scenario.
The
figure below demonstrates the network topology we are going to set up.
Simulation framework
Below is an example Java program, that uses the gridsim.datagrid
package and implement a simple experiment on a grid with the topology
shown on the figure above. Follow the links in the main method to see
the description of the various steps needed for a proper simulation
setup.
package tutorial;
import gridsim.*;
import gridsim.datagrid.*;
import gridsim.datagrid.index.*;
import gridsim.datagrid.storage.*;
import gridsim.net.FIFOScheduler;
import gridsim.net.Link;
import gridsim.net.RIPRouter;
import gridsim.net.Router;
import gridsim.net.SimpleLink;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.LinkedList;
public class Example {
public static void main(String[] args) {
}
}
<home>