<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Link-state routing protocol - Page 13 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=link-state_routing_protocol&amp;p=12">1.Previous</a><br />
<a accesskey="3" href="page.php?w=link-state_routing_protocol&amp;p=14">3.Next</a>
</p>
<p>to determine the <a href="page.php?w=Shortest_path_problem">shortest path</a> from itself to every other node in the network; generally, some variant of <a href="page.php?w=Dijkstra%27s_algorithm">Dijkstra's algorithm</a> is used. A node maintains two data structures: a <a href="page.php?w=Tree_data_structure_tree">Tree data structure tree</a> containing nodes which are "done", and a list of candidates. The algorithm starts with both structures empty; it then adds to the first one the node itself. The variant of a <a href="page.php?w=greedy_algorithm">greedy algorithm</a></p><p>
<a accesskey="1" href="page.php?w=link-state_routing_protocol&amp;p=12">1.Previous</a><br />
<a accesskey="3" href="page.php?w=link-state_routing_protocol&amp;p=14">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
