Class Controller

java.lang.Object
  extended by Controller

public class Controller
extends java.lang.Object

The Controller class dictates the total flow of execution of the simulator.

Version:
1.0

Field Summary
private  NetworkManager netManager
          This is an object of NetworkManager type which holds the current network instance, statistical data holder and various helping utility object like input file reader.
private  Network network
          This is the reference of the instaniated Network in NetworkManager.
 
Constructor Summary
Controller()
          Default Constructor
 
Method Summary
 void main_loop()
          The controller object performs its duty mainly by this method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

netManager

private NetworkManager netManager
This is an object of NetworkManager type which holds the current network instance, statistical data holder and various helping utility object like input file reader.


network

private Network network
This is the reference of the instaniated Network in NetworkManager. It is used to invoke various methods of the network.

Constructor Detail

Controller

public Controller()
Default Constructor

Method Detail

main_loop

public void main_loop()
The controller object performs its duty mainly by this method. The method performs in the following steps.