Vehicular middleware and heuristic approaches for intelligent transportation system of smart cities (Cognitive Computing for Human-Robot Interaction, 2021)