public bool Feasible(ITrip trip) { IZone originalZone = trip.OriginalZone; var o = ZoneArray.GetFlatIndex(originalZone.ZoneNumber); IZone destinationZone = trip.DestinationZone; var d = ZoneArray.GetFlatIndex(destinationZone.ZoneNumber); return(Network.ValidOD(o, d, trip.TripStartTime)); }