Modelling traffic flows with intelligent cars and intelligent roads | Synapse