| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectaim4.config.SimConfig
public class SimConfig
The configuration of a simulation.
| Field Summary | |
|---|---|
static double | 
ADDITIONAL_STOP_DIST_BEFORE_INTERSECTION
The distance before the stopping distance before an intersection such that a vehicle can consider moving again when MUST_STOP_BEFORE_INTERSECTION is true.  | 
static double | 
CYCLES_PER_SECOND
The number of cycles per second (50.0) at which the simulator runs.  | 
static double | 
GRID_TIME_STEP
The length of a time step (simulation time) in the reservation grid (0.02 seconds).  | 
static boolean | 
MUST_STOP_BEFORE_INTERSECTION
Whether or not the vehicle must stop before an intersection  | 
static double | 
SPAWN_TIME_STEP
How often the simulator should consider spawning vehicles.  | 
static double | 
TIME_STEP
The length of a time step (simulation time) in the simulator (0.02 seconds).  | 
static double | 
TOTAL_SIMULATION_TIME
The time the simulation should run.  | 
| Constructor Summary | |
|---|---|
SimConfig()
 | 
|
| Method Summary | 
|---|
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static double TOTAL_SIMULATION_TIME
public static final double CYCLES_PER_SECOND
public static final double TIME_STEP
public static final double GRID_TIME_STEP
public static final double SPAWN_TIME_STEP
public static boolean MUST_STOP_BEFORE_INTERSECTION
public static final double ADDITIONAL_STOP_DIST_BEFORE_INTERSECTION
| Constructor Detail | 
|---|
public SimConfig()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||