public void run() {
		if(avgArrivals + avgDepartures > 1.0) {
			System.err.println("The sum of average arrivals and departures can not exceed 1.0.\n" +
					" Setting both values to 0.5");
			avgArrivals = 0.5;
			avgDepartures = 0.5;
		}
		
		printStart();
		
		while(time <= intervals) {
			System.out.print((int) time + ": ");
			
			generateTraffic();
			handleTraffic();
			
			time++;
			
			System.out.println();
			if(time > intervals)
				printReport();
		}
	}