Heuristic search for the best paths in an intermodal transportation system