protected List<Link> FindPath(List<City> citiesOnRoute, TransportModes mode)
{
City to = null;
var itinerary = new List<Link>();
foreach (City c in citiesOnRoute)
{
City from = to;
to = c;
if (from != null)
{
Link l = FindLink(from, to, mode);
if (l != null)
{
itinerary.Add(l);
}
}
}
return itinerary;
}