Development of a dynamic shortest path algorithm and a traffic simulation model