How do you turn this into a (precisely described) flow network?

1. Today was just a regular day for everyone in Krypton until a news flashed that a meteor is going to destroy Krypton in X days. Krypton has N cities, some of which are connected by bidirectional roads. You are given a road map of Krypton; for every two cities Ci and Cj which are connected by a (direct) road from Ci straight to Cj you are given the value t(i, j) which is the number of days to travel from city Ci to city Cj . (You can of course also go from a city Cm to city Ck without a direct road from Cm to Ck by going through a sequence of intermediate cities connected by direct roads.) In each city Ci the Krypton Government built qi pods to carry inhabitants in case of any calamity, which will transport them to Earth. City Ci has population pi . As soon as the people hear this news they try to save themselves by acquiring these pods either at their own city or in other city before the meteor destroys everything. Note that a pod can carry only one person. Find the largest number of invaders the Earth will have to deal with.
Hint: this is a typical Max Flow problem. Each inhabitant of Krypton can access the pods which are either in their own city or in cities which are less than X day’s trip away from their city, so start by determining for each city Ci the set of cities you can reach within X days (what algorithm can you use for this task?). To make the representation compact, make a bipartite graph with vertices corresponding to all cities both on the left and on the right side but with different interpretation: on the left vertices represent populations of the corresponding cities; on the right the vertices represent the set of ponds in the corresponding cities. How do you turn this into a (precisely described) flow network?

find the cost of your paper

Propose (or illustrate) a database solution enabling service representatives to identify the most important customers so that they could receive priority service.

For this week’s assignment, you will propose (or illustrate) a database solution enabling service representatives to identify the most important customers so that they could receive priority service. You will use….

Description of the how the software selection criteria (and which ones) were chosen for your company

Integrated Learning Project Assignment Instructions Overview The integrated learning assignment is a series of 6 assignments and a final course consolidated submission. All assignments and the compilation of the final….

How can Layla use JavaScript custom objects to create the Customer List feature for the Web site?

Layla just got hired as the Web developer for a small business called Axe Grinders, which sells and repairs guitars and amps. The aging rock 'n' rollers who own Axe….