With instant traffic flow information, street conditions, temperature, and traffic accidents recorded by sensors, a smart city can achieve real-time communication among people, vehicles, street conditions, and the environment for the purpose of route choice