gridiq
Class GridIQ

java.lang.Object
  extended by gridiq.GridIQ

public class GridIQ
extends java.lang.Object

The main class of the application, containing the entry point for running a simulation from the command line.

Author:
colin

Field Summary
(package private)  SimulationController sim
           
 
Constructor Summary
GridIQ()
          Reads in the global configuration file in order to set global simulation properties.
 
Method Summary
static void main(java.lang.String[] args)
          The entry point of the application.
 void run(java.lang.String projectFilePath)
          Runs a simulation as specified in the given project file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sim

SimulationController sim
Constructor Detail

GridIQ

public GridIQ()
       throws java.lang.Exception
Reads in the global configuration file in order to set global simulation properties.

Throws:
java.lang.Exception
Method Detail

run

public void run(java.lang.String projectFilePath)
         throws java.lang.Exception
Runs a simulation as specified in the given project file.

Parameters:
projectFilePath - the path to the project file.
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)
The entry point of the application. Expects a single argument specifying the path to a project configuration file.

Parameters:
args - the path to the project file for the simulation.