An intelligent approach to intelligent transportation