18th August 2004 "AI_Driver.exe" This demo has been made available purely in the hope that you might enjoy it. No warranty is made about this program's fitness for any particular purpose. By running the program you take full responsibility for any problems it may cause you. Although highly unlikely, if this demo does cause any problems on your machine, please contact me at the email address below (I won't be able to fix it, but I may withdraw the demo!). I've run the July '04 update of Sophos virus scanner on the files included in this archive, but I still cannot guarantee that they are virus free. The extracted size of these files is approximately 928KB (wow that BMP is big!) To use this demo, extract the files into a convenient folder and run the .exe Please do not redistribute the demo at this time. Feel free to link it though. The AI_Driver demo displays a simple road network, including a dual-carriageway around the outer edge, and with winding roads and many junctions towards the centre. Some of the junctions are controlled by traffic signals, some are governed by 'give way' (USA 'yield') signs or 'stop' signs. None of the junction controls are displayed in any way, however you can quickly see which is which by the behaviour of the cars as they drive around. Menu options: File | "start driving X cars" - will start the specified number of cars driving in the map, it initialises their positions by running a few hundred ticks before displaying any graphics. File | "start time test" - runs the AI 10,000 times with 100 cars and displays timing information. View | "Node occupancy" - shows how many vehicles are in each stretch of road at any given time. Control | "Frame Rate" - produces a sub-menu from which you can select the speed of the simulation. Selecting '5' gives a nice 'time lapse' effect, especially with 100 cars going. Control | "Time Advance" - runs the next X frames without graphical updates, useful for seeing if that traffic jam will ever clear! Control | "Crash Car" - causes a random car to be moved off the road. It will immediately instigate recovery techniques to try to get back onto the road safely and merge with the traffic flow. Other cars should avoid the crashed car if they are able to. This is very hard to see at max 'frame rate'. A red square in the bottom right corner of the screen indicates that the demo is being slowed down by your computer. The counter at the bottom left is simply a 'tick' counter. Visit my web-site http://home.btconnect.com/pete/homepage.html for updates on the further work I am doing with this code, and for future (hopefully more impressive) demos. Enjoy the demo! Pete Baron sibaroni@hotmail.com