📅  最后修改于: 2020-11-10 00:58:04             🧑  作者: Mango
路由算法分为两类:
自适应路由算法可以分为三部分:
非自适应路由算法有两种类型:
泛洪:在泛洪的情况下,每个到达的数据包都会发送到所有传出的链接,但到达的包除外。泛洪的缺点是节点可能包含特定数据包的多个副本。
随机游走:在随机游走的情况下,节点随机发送到其邻居之一的数据包。使用随机游走的优点是,它非常有效地使用了替代路线。
Basis Of Comparison | Adaptive Routing algorithm | Non-Adaptive Routing algorithm |
---|---|---|
Define | Adaptive Routing algorithm is an algorithm that constructs the routing table based on the network conditions. | The Non-Adaptive Routing algorithm is an algorithm that constructs the static table to determine which node to send the packet. |
Usage | Adaptive routing algorithm is used by dynamic routing. | The Non-Adaptive Routing algorithm is used by static routing. |
Routing decision | Routing decisions are made based on topology and network traffic. | Routing decisions are the static tables. |
Categorization | The types of adaptive routing algorithm, are Centralized, isolation and distributed algorithm. | The types of Non Adaptive routing algorithm are flooding and random walks. |
Complexity | Adaptive Routing algorithms are more complex. | Non-Adaptive Routing algorithms are simple. |