1 consider the following network example with the indicated

Assignment Help Computer Engineering
Reference no: EM13369242

1. Consider the following network example. With the indicated link costs along each link in the figure, use Dijkstra's shortest-path algorithm to compute the shortest path from x to all network nodes. Show how the algorithm works by computing a table.

88_compute the shortest path.png

Answer: Let N' denote the set of nodes whose distance have been known so far, D(s) be the distance to a node s, and p(s) be the parent node of the node s on the shortest path from s to node x. We then construct the following table.

37_compute the shortest path1.png

2. Consider the following network example. Suppose that the distance vector (DV) routing algorithm is used to compute the distance between nodes.

613_compute the shortest path2.png

(a) Show the procedure of nodes X, Y and W computes their Distance Vector for network illustrated by Figure (a), i.e., link costs are C(xw)=1, C(xy)=4, and C(yw)=8.

Answer: In the following, each column shows the node X, Y and Z's table update respectively:

1683_compute the shortest path3.png

(b) Assume that after the DV is computed by all nodes, the link cost of xy changed from 4 to 20. Show the procedure of nodes X, Y and W updates their Distance Vector for network illustrated by Figure (b), i.e., link costs are C(xw)=1, C(xy)=20, and C(yw)=8.

Answer: In the following, each column shows the node X, Y and Z's table update respectively:

119_compute the shortest path4.png

* If not enough, add more tables by yourself

3. We studied Dijkstra's link-state routing algorithm for computing the unicast paths that are individually the shortest paths from the source to all destinations. The union of these paths might be thought of as forming a shortest path tree. If each links has an associated cost and the cost of a tree is the sum of the link costs, then a spanning tree whose cost is the minimum of all of the spanning trees is called a minimum spanning tree. Both shortest path tree and minimum-spanning tree can be used for broadcast routing. By constructing a counterexample, show that the least-cost path tree is not always the same as a minimum spanning tree.

Reference no: EM13369242

Questions Cloud

Need assistance on how to write a good report on named : need assistance on how to write a good report on named comparison of voice and ear biometrics as a measure to passport
Prepare a theme board - the theme board should have between : prepare a theme board - the theme board should have between 10 minimum and 12 maximum frames. the theme board should
Adam ant 421 brickell avenue 1420 miami fl 33131 ss : adam ant 421 brickell avenue 1420 miami fl 33131 ss 987-65-4321 bob builder 1111 biscayne boulevard miami fl 33131 ss
Harley davidson purchases components from three suppliers : harley davidson purchases components from three suppliers. components purchased from supplier a are priced at 5 each
1 consider the following network example with the indicated : 1. consider the following network example. with the indicated link costs along each link in the figure use dijkstras
Task1in a 1000 words or less summarize the key issues you : task1in a 1000 words or less summarize the key issues you believe which led to mdc not functioning to its full
Deliver a research paper and presentation based on your : deliver a research paper and presentation based on your research.future threats to network security and planning for
1 a complete the following table of costs for a firm note : 1. a complete the following table of costs for a firm. note enter the figures in the mc column between outputs of 0
Using the information that you have discovered or know : using the information that you have discovered or know about either the ebay or argos businesses you are required to

Reviews

Write a Review

Computer Engineering Questions & Answers

  Create a program which contains a function called sumn()

Create a program which Contains a function called sumN().

  Write a short on structured design

Identify task you perform regularly, such as cooking, mowing the lawn, or driving a car

  Write program that computes the cost of a long distance call

Write program that computes the cost of a long distance call

  How time-variant data can be properly captured

Historical data can be important to measuring performance. Prepare an example on how time-variant data can be properly captured and maintained within a database system.

  Write a gui-based program that manages an auction of several

Write a GUI-based program that manages an auction of several items.

  Project that is already over budget and past due

assume that you have been hired to "save" a project that is already over budget and past due. The project is still only half done. You have 20 programming teams working independently.

  Cfl pumping lemma

Utilize the CFL pumping Lemma in order to show each of these languages not to be context-free.

  Write a program that imitates a lottery

Write a program that imitates a lottery. The program will use two one-dimensional arrays to store the winning numbers and the user's choices. A function will be use to decide whether the user has won or not.

  Create a gui pad that has numbers and letters

Create a GUI pad that has numbers and letters(That can be capitalized), and a text area to display One button that clears the text.

  Why prepaid cell phones make forensic investigation hard

Discuss about how can you quickly investigate and collect digital evidence for a crime what involves a phone call (e.g., you checked the victim's cell phone and you find a phone call from a phone number, this phone number could be a VoIP phone, a ..

  What are some automation tools

What is the office automation and group collaboration software which is used in any oraginization? How do you analize this/ what are the ad/disadvantages on this method.

  Define the syntax of programming languages

BNF is used extensively in the computing field to describe the syntax of programming languages. Please provide an example of where and how BNF may be used to solve real-world problem.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd