How self-driving cars predict behaviour of other road users