Optimality Principle in Network Topology
Last Updated :
22 Jan, 2021
Introduction :
A general statement is made about optimal routes without regard to network topology or traffic. This statement is known as the optimality principle( Bellman,1975).
Statement of the optimality principle :
It states that if the router J is on the optimal path from router I to router K, then the optimal path from J to K also falls along the same route. Call the route from I to J r1 and the rest of the route r2. it could be concatenated with r1 to improve the route from I to K, contradicting our statement that r1r2 is optimal only if a route better than r2 existed from J to K.
Sink Tree for routers :
We can see that the set of optimal routes from all sources to a given destination from a tree rooted at the destination as a directed consequence of the optimality principle. This tree is called a sink tree and is illustrated in fig(1).
Description of figure :
In the given figure the distance metric is the number of hops. Therefore, the goal of all routing algorithms is to discover and use the sink trees for all routers.
(a) A network
(b) A sink tree for router B
The sink tree is not unique also other trees with the same path lengths may exist. If we allow all of the possible paths to be chosen, the tree becomes a more general structure called a DAG (Directed Acyclic Graph). DAGs have no loops. We will use sink trees as a convenient shorthand for both cases. we will take technical assumption for both cases that the paths do not interfere with each other so, for example, a traffic jam on one path will not cause another path to divert.
Conclusion :
The sink tree does not contain any loops, so each packet will be delivered within a finite and bounded number of hops. In practice, life is not quite easy. Links and routers can go on and come back up during operation, so different routers may have different ideas about the current topology. Also, we have found the issue of whether each router has to individually acquire the information on which to base its sink tree computation or whether this information is collected by some other means. Sink tree and the optimality principle provide a benchmark against which other routing algorithms can be measured.
Similar Reads
Network Topology In Computer Networks, Network Topology is the arrangement of the various elements of a communication network. Network Topology is a topological structure of a network and may be depicted physically or logically. In this article, we are going to discuss network topology and its various types.What is
9 min read
Difference between Physical and Logical Topology A Physical and Logical topologies are important concepts that govern the formation and operation of networks. In this article we will see differences between both topologies, and troubleshooting network infrastructure. What is Physical Topology?Physical topology indicates the arrangement of differen
5 min read
Types of Network Topology Network topology refers to the arrangement of different elements like nodes, links, or devices in a computer network. Common types of network topology include bus, star, ring, mesh, and tree topologies, each with its advantages and disadvantages. In this article, we will discuss different types of n
11 min read
Difference Between Network Topology and Network Protocols Network Topology and Network Protocols are closely related but distinct concepts in the field of computer networking. Network Topology refers to the physical and logical arrangement of devices on a network, while Network Protocols refer to the rules and standards that govern the communication betwee
4 min read
Difference between Point to Point Link and Star Topology Network 1. Point to point link : This is the kind of topology that relies upon two functions i.e. Transmit and Receive. It is a type of communication network between two communication nodes where there is one transmitter and on the other end, there is the receiver. It is a kind of communication medium which
4 min read
Difference between Ring Topology and Mesh Topology In Computer Network, Ring topology connects the devices in a circular form with a data flowing in one direction. It is simple and efficient for a small networks but vulnerable to a single point failures. Where as, Mesh topology links the devices to a multiple others creating a redundant paths for th
6 min read