Routing algorithms
D(v): the cost from the source node to destination that has currently the least cost. p(v): previous node along current least cost path from source to dest. N: set of nodes whose shortest path from the source is definitively known
Comparison between algorithms Message complexity – LS is more complex since changes in the links needs to be sent to all nodes. – DV sends message only if the new link cost results in a changed cost path for nodes attached to that link. Speed of convergence – DV converges slower. – DV do not scale well because of the "count to infinity problem”. Robustness – DV is less robust since an incorrect node calculation can spread through the whole network. – LS is more robust since each node only calculus it's own routes. LS: Link state algorithm DV: Distance vector algorithm