Reinforcement learning for ridesharing: An extended survey