Compute the shortest paths to all network nodes, Data Structure & Algorithms

(i)  Consider a system using flooding with hop counter. Suppose that the hop counter is originally set to the "diameter" (number of hops in the longest path without traversing any node twice) of the network. When the hop count reaches zero, the packet is discarded except at its destination.

Does this always ensure that a packet will reach its destination if there at least one functioning path (to the destination) that may exist? Why or why not? 

[Assume that a packet will not be dropped unless its hop count goes to zero]

(ii)  Consider the network shown in Figure 2. Using Dijkstra's algorithm, and showing your work using tables,

a)  Compute the shortest paths from A to all network nodes.

b)  Compute the shortest paths from B to all network nodes.

1714_Compute the Shortest Paths to All Network Nodes.png

Posted Date: 3/23/2013 2:50:09 AM | Location : United States







Related Discussions:- Compute the shortest paths to all network nodes, Assignment Help, Ask Question on Compute the shortest paths to all network nodes, Get Answer, Expert's Help, Compute the shortest paths to all network nodes Discussions

Write discussion on Compute the shortest paths to all network nodes
Your posts are moderated
Related Questions
Q. Illustrate the result of running BFS and DFS on the directed graph given below using vertex 3 as source.  Show the status of the data structure used at each and every stage.

Write an algorithm for compound interest.

the voltage wave forms are applied at the inputs of an EX-OR gate. determine the output wave form

In internal sorting, all of the data to be sorted is obtainable in the high speed main memory of the computer. We will learn the methods of internal sorting which are following:

Maximum numbers of nodes a binary tree of depth d The maximum numbers of nodes a binary tree of depth d can have is 2 d+1 -1.

State  in brief about assertion Assertion: A statement which should be true at a designated point in a program.


We will start by defining a new structure called Heap. Figure 3 illustrates a Binary tree. Figure: A Binary Tree A complete binary tree is said to assure the 'heap con

Q. Write a procedure to the insert a node into the linked list at a particular position and draw the same by taking an example?

Demonstrate that Dijkstra's algorithm does not necessarily work if some of the costs are negative by finding a digraph with negative costs (but no negative cost dicircuits) for whi