Question: Suppose you are given a timetable, which consists of: A set A of n airports, and for each airport a in A, a minimum

Suppose you are given a timetable, which consists of:

• A set A of n airports, and for each airport a in A, a minimum connecting time c(a).

• A set F of m flights, and the following, for each flight f in F:

◦ Origin airport a1(f) in A

◦ Destination airport a2(f) in A

◦ Departure time t1(f)

◦ Arrival time t2(f)

Describe an efficient algorithm for the flight scheduling problem. In this problem, we are given airports a and b, and a time t, and we wish to compute a sequence of flights that allows one to arrive at the earliest possible time in b when departing from a at or after time t. Minimum connecting times at intermediate airports must be observed. What is the running time of your algorithm as a function of n and m?

Step by Step Solution

3.50 Rating (163 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Define an augmented graph from the input graph and perform the appropriate computation on the augmented graph There are two possible solutions a For each airport a i in A draw a circle circlei to repr... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Data Structures Algorithms Questions!