jasi.airtraffic.kernel
Class AirtrafficSimulation

java.lang.Object
  extended by jasi.airtraffic.kernel.AirtrafficSimulation

public final class AirtrafficSimulation
extends java.lang.Object

A factory for the simulation kernel of the air traffic simulation.


Field Summary
static java.lang.String ARC_FILE
          The simulation's default archive file name.
static java.lang.String ERR_FILE
          The simulation's default error-output file.
static java.lang.String OUT_FILE
          The simulation's default output file name.
 
Constructor Summary
AirtrafficSimulation()
           
 
Method Summary
static Simulation createSimulation(boolean timer, boolean xml)
          Create the simulation instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ARC_FILE

public static final java.lang.String ARC_FILE
The simulation's default archive file name.

See Also:
Constant Field Values

OUT_FILE

public static final java.lang.String OUT_FILE
The simulation's default output file name.

See Also:
Constant Field Values

ERR_FILE

public static final java.lang.String ERR_FILE
The simulation's default error-output file.

See Also:
Constant Field Values
Constructor Detail

AirtrafficSimulation

public AirtrafficSimulation()
Method Detail

createSimulation

public static Simulation createSimulation(boolean timer,
                                          boolean xml)
Create the simulation instance. It further initializes the fight factory for the start events.

Parameters:
timer - If true, use a timer; otherwise increase time as fast as possible.
xml - If true, use an XML archive; otherwise use a binary stream archive.
Returns:
The simulation.