And this is why driverless cars will never (or at least not soon) attempt to optimise trolley-problem-style for number of human lives saved or similar. The algorithms chosen will optimise for one thing and one thing only: Legal defensibility for the car&#x27;s actions.