Algorithm to determine actual routes from departure / arrival events