Answered step by step
Verified Expert Solution
Question
1 Approved Answer
ROUTING ALGORITHMS ( Layer 3 protocol) Routing algorithms can be grouped into two major classes: non-adaptive and adaptive. Non-adaptive algorithms do not base their routing
ROUTING ALGORITHMS ( Layer 3 protocol) Routing algorithms can be grouped into two major classes: non-adaptive and adaptive. Non-adaptive algorithms do not base their routing decisions on measurements or estimates of the current traffic and topology. Instead, the choice of the route to use to get from i to j (for all i and j) is computed in advance, off-line, and downloaded to the IMPS when the network is booted. This procedure is sometimes called static routing. Adaptive algorithms, on the other hand, attempt to change their routing decisions to reflect changes in topology and the current traffic. Three different families of adaptive algorithms exist, differing in the information they use. The global algorithms use information collected from the entire subnet in an attempt to make optimal decisions. This approach is called centralized routing. The local algorithms run separately on each IMP and only use information available there, such as queue length. These are known as isolated algorithms. Finally, the third class of algorithms uses a mixture of global and local information. They are called distributed algorithms Shortest Path Routing Dijkstra is an example of this type of algorithms for computing the shortest path between two nodes. Your assignment here is to write a program using C, C+ or Java programming languages to determine the shortest path between a source node and a destination node specified by user. Figure 2 shows a sample network in which connectivity costs between nodes are indicated on the links
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started