/*
 * Author: Anthony Sulistio
 * Date: April 2003
 * $Id: README.txt,v 1.3 2003/06/30 02:14:23 anthony Exp $
 */


Welcome to the 1st Example of how to use GridSim package.
To compile the example source code:
    In Unix or Linux: javac -classpath $GRIDSIM/jars/all.jar:. Example1.java
    In Windows:       javac -classpath %GRIDSIM%\jars\all.jar;. Example1.java

where $GRIDSIM or %GRIDSIM% is the location of the gridsimtoolkit package.


To run the class file:
    In Unix/Linux: java -classpath $GRIDSIM/jars/all.jar:. Example1 > output.txt
    In Windows:    
        javac -classpath %GRIDSIM%\jars\all.jar;. Example1.java > output.txt
    
The above command means run the program and output the results into a file
named "output.txt" rather than into screen or standard output. 


When running the Example1 program, it will produce the following files:    

    stat.txt -> created by GridSim class during GridSim.Init() to create
        GridStatistics object for statistical purposes
        
    tracefile -> created by the SimJava package (lower-level) to trace every 
        events (performed by SimJava and GridSim) during the simulation.
        We don't need to worry about this file. Not to important for our
        example.

    example1.txt.sched1 -> All of these files are created by Broker class.
    example1.txt.sched2    When we create an UserEntity object, it will 
    example1.txt.sched3    automatically creates a Broker object.
    example1.txt.sched31
    example1.txt.sched4
    example1.txt.sched5
    example1.txt.sched6
    

Description on the example1.txt.sched* files:
---------------------------------------------
- example1.txt.sched1 is about Gridlets finished report.

- example1.txt.sched2 is about Gridlets processing expenses report.

- example1.txt.sched3 is about Gridlets on resource report.

- example1.txt.sched31 is about Gridlets committed for resource report.

- example1.txt.sched4 is same as example1.txt.sched1, however this file only 
        displays the overall result or summary of example1.txt.sched1 file.
        
- example1.txt.sched5 is same as example1.txt.sched2, however this file only
        displays the overall result or summary of example1.txt.sched2 file.
        
- example1.txt.sched6 is same as example1.txt.sched3, however this file only
        displays the overall result or summary of example1.txt.sched3 file.


NOTE: Please read the individual files to see explanations of GridSim outputs.
      If you run this example many times, the values inside 
      example1.txt.sched* will be overwritten whereas the values inside 
      "stat.txt" and "tracefile" will be appended in the end.

