bouchon - Traffic simulation
Traffic simulator of cars confined to a circular road without input or output.
The cars can take two speeds 0 and v with probabilities (1-lambda) and lambda.
In the case "sans depassement" each car cannot overtake each other.
In the case "avec depassement" each car can only overtake one car.
There is the possibility of change the length of the cars.
Other parameters of the simulation are the maximun speed, the number of cars and the simulation time.
The mean speed as a function of the numbers of cars and the maximun speed is plotted.