<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-1209273216729273112</atom:id><lastBuildDate>Mon, 13 Apr 2026 06:56:20 +0000</lastBuildDate><title>Cisco Computer Networking - Dijkstra Algorithm as Used in OSPF Routing Protocols</title><description>Wellcome to CCNA CCNP certification Support Guide&#xa;&#xa;This site is design to provide user large range of knowledge about Cisco CCNA, CCNP certification examination. Also this site includes useful information about main topic of the CCNA examination as well as CCNA academic exam. Module exam answers of the CCNA, CCNP academic exam and some important case studies are definitely useful to succeed your preparation for the examination</description><link>http://ccnacomnet-dijkstra.blogspot.com/</link><managingEditor>noreply@blogger.com (Unknown)</managingEditor><generator>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1209273216729273112.post-6349671313508378338</guid><pubDate>Sun, 01 Aug 2010 02:54:00 +0000</pubDate><atom:updated>2010-08-02T01:44:47.693-07:00</atom:updated><title>Dijkstra Algorithm as Used in the OSPF Routing Protocol</title><description>This article about Dijkstra Algorithm as used in the OSFP routing protocol. This describes steps by steps how ospf calculate shortest path to the destination using Dijkstra Algorithm and also this describes more details about OSPF routing protocols and its main operation.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold; &quot;&gt;Dijkstra Algorithm as Used in the OSPF Routing Protocol&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;lucida grande&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:large;&quot;&gt;Abstract – This document explains about how Dijkstra algorithm operates and main procedures of the algorithm. And this document also explains OSPF routing protocol how it implement Dijkstra algorithm to find the shorted path to the destination&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:verdana;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:large;&quot;&gt;. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;/div&gt;&lt;h1&gt;&lt;a name=&quot;_Toc268393944&quot;&gt;&lt;span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:large;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#3333FF;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;lucida grande&#39;;&quot;&gt;1. Introduction&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;font-family:&amp;quot;;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;  &lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align:justify&quot;&gt;&lt;span style=&quot; ;font-family:Arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:medium;&quot;&gt;Communication is most important for the 21&lt;/span&gt;&lt;sup&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:medium;&quot;&gt;st&lt;/span&gt;&lt;/sup&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:medium;&quot;&gt; century’s development. It allows people around the world to communicate each other at real time and improves their activities in day to day their lives. Communication is getting developing in every day as the result of emerging technologies. Internet and computer networking take the major part of this greatest communication development. There are various interconnected autonomous systems in a complete network which can communicate different nodes to forward the information. In order to transfer data from a source to the destination, the network must find out the best route between source and destination. This can be done by using routers. The routers are responsible for receiving and forwarding data packets through the interconnected set of networks. Routing is most important process of the network system that determines best end to end paths from source to destinations. At the router there is an algorithm which takes the dynamic decisions to determine the best path from source to the destination. This algorithm is known as Routing Algorithm. There are different routing algorithms available in these days Dijkstra Algorithm is one of them.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot; Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;font-family:&amp;quot;;font-size:12.0pt;&quot;&gt; &lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align:justify&quot;&gt;&lt;span style=&quot; ;font-family:Arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:medium;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h1&gt;&lt;a name=&quot;_Toc268393945&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#3333FF;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;lucida grande&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:large;&quot;&gt;2.Dijkstra Algorithm&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;font-family:&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;  &lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align:justify&quot;&gt;&lt;span style=&quot;font-family:&amp;quot;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:medium;&quot;&gt;Dijkstra&#39;s algorithm&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:&amp;quot;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:medium;&quot;&gt; is introduced by Dutch computer scientist Edsger Dijkstra in 1959. This algorithm solves the single-source shortest-path problem for a graph when all edges have non-negative path costs by producing shortest path tree [1]. Dijkstra Algorithm is also known as SPF (Shortest Path First) algorithm. [2]  &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;a name=&quot;_Toc268393946&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#3366FF;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;lucida grande&#39;;&quot;&gt;&lt;b&gt;2.1 Basic Steps of the Dijkstra Algorithm&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;br /&gt;The following example will explain the steps of Dijkstra&#39;s Algorithm to find the shortest route from the origin S to the destination T.&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuR8dZLzFsizLNCGMLU89IIwSfpbU89lawzdx4heorIqRRO6A_M5OXrNR8A_WRWN49MZQ207s_OMFnKnIsTIYSi5AtT__hXTJYKwQIKHgR6__fEYrzo8yWE9cLHXCvGC-20YxXqSO3wq5g/s1600/Djs1.jpg&quot;&gt;&lt;img style=&quot;display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; cursor: pointer; width: 400px; height: 205px; text-align: center; &quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuR8dZLzFsizLNCGMLU89IIwSfpbU89lawzdx4heorIqRRO6A_M5OXrNR8A_WRWN49MZQ207s_OMFnKnIsTIYSi5AtT__hXTJYKwQIKHgR6__fEYrzo8yWE9cLHXCvGC-20YxXqSO3wq5g/s400/Djs1.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5500275515161376706&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:medium;&quot;&gt;1. Initially mark the source as solved. Distance will be 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:medium;&quot;&gt;2. Identify all unsolved nodes directly connected to solved nodes&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6N-xs5PySCwUZBUajCnlMitKrp7GhgyFva-OxKpWYyND4aCOPky6m4HpXoB3j6KSdqMKALI7_itEbX_nqJ49lu1TcPONwccwWRh3Dpyc-IWzduVuoINLXUYdt8TvaHkQ4z7wVIn5hv2GV/s1600/Djs2.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 208px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6N-xs5PySCwUZBUajCnlMitKrp7GhgyFva-OxKpWYyND4aCOPky6m4HpXoB3j6KSdqMKALI7_itEbX_nqJ49lu1TcPONwccwWRh3Dpyc-IWzduVuoINLXUYdt8TvaHkQ4z7wVIn5hv2GV/s400/Djs2.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5500289125661172930&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;3. Calculate the candidate distance&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt; Candidate distance = Distance to the solved node + length of arc&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;4. Choose smallest candidate distance&lt;/span&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia6mWCvg_SldMrg_nacNqWUFa5NGb-fYRWb5sGD29InTd8D-4Zcy9bPy6pS0PXBualwIsx8827MEMvg4GxI0zVVv-BZJDLr9JV9xSsybK5o6pAZCEFbdvJ5p9BJXwTjylL-1R_gk9_WZa2/s1600/Djt1.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 350px; height: 96px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia6mWCvg_SldMrg_nacNqWUFa5NGb-fYRWb5sGD29InTd8D-4Zcy9bPy6pS0PXBualwIsx8827MEMvg4GxI0zVVv-BZJDLr9JV9xSsybK5o6pAZCEFbdvJ5p9BJXwTjylL-1R_gk9_WZa2/s400/Djt1.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5500292013941603346&quot; /&gt;&lt;/a&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;&lt;span style=&quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;font-family:&amp;quot;;font-size:12.0pt;&quot;&gt;Smallest candidate distance = XA = 2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;&lt;span style=&quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;font-family:&amp;quot;;font-size:12.0pt;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;b style=&quot;mso-bidi-font-weight:normal&quot;&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align:justify&quot;&gt;&lt;span style=&quot; Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;font-family:&amp;quot;;font-size:12.0pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;5. Set the A as solved node and candidate distance is 2 to the A node. Repeat the steps until destination is reached. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/b&gt;&lt;p&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiERAR_pKRB_MTgMapGt8HOKo60k8jEELC5s8qtBVLX4C_9pvs_IG4jO5yp1dHDvz_SoTqGtHfqySt92yBMOLJ3w8L_JGKxfHekNviuHoDiXgb2tgRd8G1Gz-Oc-hHs-jhc_oseU_ewZE_a/s1600/Djs3.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 206px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiERAR_pKRB_MTgMapGt8HOKo60k8jEELC5s8qtBVLX4C_9pvs_IG4jO5yp1dHDvz_SoTqGtHfqySt92yBMOLJ3w8L_JGKxfHekNviuHoDiXgb2tgRd8G1Gz-Oc-hHs-jhc_oseU_ewZE_a/s400/Djs3.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5500292957108347666&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNoSpacing&quot; style=&quot;text-align:justify&quot;&gt;&lt;span style=&quot; Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;font-family:&amp;quot;;font-size:12.0pt;&quot;&gt;6. Identify all unsolved directly connected node to the A and S and then calculate the candidate distance&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPcKiVwrEDP58S1vfXykn1EKpTTDPh2p2w3OFRVwgp2LctZQ8Py2yxt8VD9xAPJC85qXnGSFOMoPnB9Z4GBEpS14u_3OGRSxHlV3Ru4Skc48K-JC6K3albZPZ6B8fEJYF6g22Hg_25Oe5t/s1600/Djs4.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 207px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPcKiVwrEDP58S1vfXykn1EKpTTDPh2p2w3OFRVwgp2LctZQ8Py2yxt8VD9xAPJC85qXnGSFOMoPnB9Z4GBEpS14u_3OGRSxHlV3Ru4Skc48K-JC6K3albZPZ6B8fEJYF6g22Hg_25Oe5t/s400/Djs4.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5500293821742027282&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWyxm4tqPjvyphJBrS9QGKretIqaQ-Z3uFwnM2sm7tG2h5ehlVrFpQ-xIYg3xczyEZ-GM2mpzbTpSZ1Knm5-oVaPyjO83ox7ojoZobB9JceV8uYbVGPWCtTdbrY2VoE_Grz1dOmi5dkyyS/s1600/Djt2.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 125px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWyxm4tqPjvyphJBrS9QGKretIqaQ-Z3uFwnM2sm7tG2h5ehlVrFpQ-xIYg3xczyEZ-GM2mpzbTpSZ1Knm5-oVaPyjO83ox7ojoZobB9JceV8uYbVGPWCtTdbrY2VoE_Grz1dOmi5dkyyS/s400/Djt2.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5500294648094351202&quot; /&gt;&lt;/a&gt;&lt;br /&gt;We have two equal lowest candidate distance (XB1 &amp;amp; XC). In this case choose one of them arbitrarily. Set the B as solved node. (Candidate distance is 3)&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXFRh1dGfiz1hVVk0ZAcWsVGMxsl82_F16oatRTjoNk8srQ-Ypqe8eEAJW_af3BHLiwM_iA9QtJsE2MUvHSDsBqBYxBu99Ta9wunGPPBEPk47UfZ2G2L9yfpYbdSQFzNMp-3Zq0JWDPcQd/s1600/Djs5.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 218px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXFRh1dGfiz1hVVk0ZAcWsVGMxsl82_F16oatRTjoNk8srQ-Ypqe8eEAJW_af3BHLiwM_iA9QtJsE2MUvHSDsBqBYxBu99Ta9wunGPPBEPk47UfZ2G2L9yfpYbdSQFzNMp-3Zq0JWDPcQd/s400/Djs5.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5500295326230243298&quot; /&gt;&lt;/a&gt;&lt;br /&gt;7.  Identify all unsolved directly connected node to the A, B and S and calculate the candidate distance&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAixtI2U0c3-S8T-U2c4R0HToehwOIfKdAKWFz5Bqx_6Wpthxv4IsRfhfur13l4e5t80vNi12QSt3g04_onDfiXCDwhY57dNe44HIw-od3qlJKWT34HCtxBpxuZhX9aIq02Wbw-EEN5Eey/s1600/Djs6.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 219px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAixtI2U0c3-S8T-U2c4R0HToehwOIfKdAKWFz5Bqx_6Wpthxv4IsRfhfur13l4e5t80vNi12QSt3g04_onDfiXCDwhY57dNe44HIw-od3qlJKWT34HCtxBpxuZhX9aIq02Wbw-EEN5Eey/s400/Djs6.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5500296055034924738&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4rcAdV-iu25kWEg7Rj5b3Osn1bRH9-mrT4nqjM0vDMm_YujxRvgHvL7gwiyxBcXFsdE3zGrKmEiF6pOmt6Cn9-Du9w7SRg5f2pYqArZU3Bp0jAp6_1z6VoX1nJQGCMO64rhTwbnh3oGyr/s1600/Djt3.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 120px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4rcAdV-iu25kWEg7Rj5b3Osn1bRH9-mrT4nqjM0vDMm_YujxRvgHvL7gwiyxBcXFsdE3zGrKmEiF6pOmt6Cn9-Du9w7SRg5f2pYqArZU3Bp0jAp6_1z6VoX1nJQGCMO64rhTwbnh3oGyr/s400/Djt3.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5500296549264637058&quot; /&gt;&lt;/a&gt;Smallest candidate distance is XC2 (XC2 = 3). Set C as solved node. Still we haven’t reached the target.&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigCk4EGKjOOTM2WY7jv-WYBwBm5UNf94aWVDAIIEYLlcUP5JQlH6ltS2Yz6Gz3_9UCNNzXctX2kF_JB8RgJWYH4gLLmWP22hyphenhyphenor3Fj_R4mLGLmdt1drcR83I_GqZI78p8v8FMOZa1mz1UA/s1600/Djs7.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 226px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigCk4EGKjOOTM2WY7jv-WYBwBm5UNf94aWVDAIIEYLlcUP5JQlH6ltS2Yz6Gz3_9UCNNzXctX2kF_JB8RgJWYH4gLLmWP22hyphenhyphenor3Fj_R4mLGLmdt1drcR83I_GqZI78p8v8FMOZa1mz1UA/s400/Djs7.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5500297913359404978&quot; /&gt;&lt;/a&gt;&lt;br /&gt;8.  Identify all unsolved directly connected node to the A, B and C and calculate the candidate distance.&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwJpPYKp-LENMCfkSecfo7TSAfXH3XOo9k0LgBPE16ql6wKuEJ2BoZ4EAL11sjNeEVzHAgrjk-_2jThiqycLXiFUYfPwk_ME7ATvpTM_V73qoj3kzQgVru-p0H_YqMKwn7GZXb0CixgCNO/s1600/Djs8.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 225px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwJpPYKp-LENMCfkSecfo7TSAfXH3XOo9k0LgBPE16ql6wKuEJ2BoZ4EAL11sjNeEVzHAgrjk-_2jThiqycLXiFUYfPwk_ME7ATvpTM_V73qoj3kzQgVru-p0H_YqMKwn7GZXb0CixgCNO/s400/Djs8.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5500724667376786690&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4O69TJqEICR_iqZFzW-pFmmW2T_SBoevfCtWPxkpUX8zt9ppYefsMzfI7tNeSwxUYqxfuOwQul8Ot7mftipLKHtozZE_cIcRv9jlTmIPNhM9wIhmdRakCTVMNoxbntQon32WMo_-GUqOj/s1600/Djt4.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 129px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4O69TJqEICR_iqZFzW-pFmmW2T_SBoevfCtWPxkpUX8zt9ppYefsMzfI7tNeSwxUYqxfuOwQul8Ot7mftipLKHtozZE_cIcRv9jlTmIPNhM9wIhmdRakCTVMNoxbntQon32WMo_-GUqOj/s400/Djt4.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5500725733872693986&quot; /&gt;&lt;/a&gt;Smallest candidate distance is XD1 (XD1 = 5). Set D as solved node. Still we haven’t reached the target.&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQXiT_UdkoovebrDs4H2alHH28lBKfXo0hHgz5m33pBY3EQmiLHPm86oIH3VrKZKZ20OixSTS3GP28pFMT6L19nr_io2Bqmx3QZCL-zyJ5wZEGEEcnj7sUGjZrpcUNaCTQM24-r7n_DUpA/s1600/Djs9.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 214px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQXiT_UdkoovebrDs4H2alHH28lBKfXo0hHgz5m33pBY3EQmiLHPm86oIH3VrKZKZ20OixSTS3GP28pFMT6L19nr_io2Bqmx3QZCL-zyJ5wZEGEEcnj7sUGjZrpcUNaCTQM24-r7n_DUpA/s400/Djs9.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5500726664304539602&quot; /&gt;&lt;/a&gt;&lt;br /&gt;9.  Identify all unsolved directly connected node to the A, B and D and calculate the candidate distance.&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgx7dmaBfJF_o8HP0T4bOdyLW6AlARxms5UgRbxP96opVBj_IMafggdbW4v9HYg_axoF21NTY2YpTeaERbndVllEK92gsSA7RD5tSkHEIibYQn21lKYBUkBiHhB5x9Veg3Wds1s8JcSiZBd/s1600/Djs10.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 225px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgx7dmaBfJF_o8HP0T4bOdyLW6AlARxms5UgRbxP96opVBj_IMafggdbW4v9HYg_axoF21NTY2YpTeaERbndVllEK92gsSA7RD5tSkHEIibYQn21lKYBUkBiHhB5x9Veg3Wds1s8JcSiZBd/s400/Djs10.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5500727495417927906&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4QN4CFiklL9RksbSwt-2ddsThlTA5uIahL7Zmsevfw6Fxq1LbgAZHDZo_DBQ276YpDv4a4dS9U9l7OVItHuArSnTZNTaPE7Gi2sXwKCuK7gx7560zPqJ3v77CQC0HApjiVHAq1Y7TVIht/s1600/Djt5.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 384px; height: 154px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4QN4CFiklL9RksbSwt-2ddsThlTA5uIahL7Zmsevfw6Fxq1LbgAZHDZo_DBQ276YpDv4a4dS9U9l7OVItHuArSnTZNTaPE7Gi2sXwKCuK7gx7560zPqJ3v77CQC0HApjiVHAq1Y7TVIht/s400/Djt5.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5500728170824319858&quot; /&gt;&lt;/a&gt;&lt;br /&gt;We have two equal lowest candidate distance (XB1 &amp;amp; XT2). In this case choose one of them for shortest path and other one for alternative route for destination. Smallest candidate distance is 8.&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHE8OcOksboJi-4ipOcAQqkqsc_iYZwPzjtUb57vtXvNA3RlvW7hcR3C8CDkHBysKuFiUGo23qNddzg1yskfiWErAokotUDznKOzhdLT86P2l5E8SYYWk9IkKe1ePworm74mZirz3BKTaT/s1600/Djs11.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 225px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHE8OcOksboJi-4ipOcAQqkqsc_iYZwPzjtUb57vtXvNA3RlvW7hcR3C8CDkHBysKuFiUGo23qNddzg1yskfiWErAokotUDznKOzhdLT86P2l5E8SYYWk9IkKe1ePworm74mZirz3BKTaT/s400/Djs11.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5500729328191122066&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Therefore shortest routes for form S to T by using Dijkstra algorithm are:&lt;br /&gt;S – A – T and S – A – B – T and shortest distance is 8. [3]</description><link>http://ccnacomnet-dijkstra.blogspot.com/2010/07/dijkstra-algorithm-as-used-in-ospf.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuR8dZLzFsizLNCGMLU89IIwSfpbU89lawzdx4heorIqRRO6A_M5OXrNR8A_WRWN49MZQ207s_OMFnKnIsTIYSi5AtT__hXTJYKwQIKHgR6__fEYrzo8yWE9cLHXCvGC-20YxXqSO3wq5g/s72-c/Djs1.jpg" height="72" width="72"/><thr:total>1</thr:total></item></channel></rss>