a) The Speed of Traffic Algorithm
The speed of traffic algorithm outlined in fig. 4 works well by utilizing the captured data parameters where it detects the number of vehicles in any given road segment, their direction of movement, the total speed. It then computes the average speed which serves as the speed of traffic. This gives traffic flow information for the road. The algorithm is potential for use if subjected to a set of GPS data containing coordinates, speed, direction and timestamp parameter. In this project, the algorithm was subjected to both historical data and the test data collected after the development of the GPS server.