So i was wondering if the link state alogirthm is based on dynamic programming. Thank you in advance.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
IMHO, the Link State routing algorithm is based on a bottom-up, dynamic programming approach. Here are my reasons:
Because it divides the task of routing over a network into many smaller tasks, calculating reachability for all nodes (and then filling the tables etc). I see this as dividing the problem into smaller problems: dynamic!
I won’t call this Greedy because calculating reachability from all nodes to all other nodes sounds like a set of overlapping subproblems.
Because (assuming) a new node is added to the network, we would have to again calculate the reachability for all the nodes, and redo the whole thing because the new node can (possibly) be directly reachable by any number of nodes, and the whole representation would change. Top-down approaches would normally require adjustments in the routing table/map only corresponding to the new node.