A real-time algorithm to solve the peer-to-peer ride-matching problem in a flexible ridesharing system · Study