Professional Documents
Culture Documents
Ant-Net Based Agent Routing Protocols in Wired Networks
Ant-Net Based Agent Routing Protocols in Wired Networks
IN WIRED NETWORKS.
Dissertation submitted to Periyar University in partial fulfillment of the requirements for the
award of the degree of
MASTER OF PHILOSOPHY
IN
COMPUTER SCIENCE
By
R. MEGALA
(Reg. No. M13CSC110)
AUGUST-2014
DECLARATION
I hereby declare that the dissertation entitled “Ant-Net Based Agent Routing
Protocols In Wired Networks" submitted to Periyar University, Salem in partial fulfillment
of the requirements for the award of the degree of Master of Philosophy in Computer
Science is a record of the original research done by me under the supervision and guidance of
S. SATHISH, M.C.A., M.Phil. Associate Professor, Department of computer Science,
Periyar University, Salem – 636011 and that it has not formed the basis for the award of any
Degree / Diploma / Associate ship / Fellowship or similar title to any candidate of any
University.
This is to certify that the dissertation entitled “Ant-Net Based Agent Routing
Protocols In Wired Networks” submitted to Periyar University, Salem in partial
fulfillment of the requirements for the award of the degree of Master of Philosophy in
Computer Science is a record of the original research work done by Mrs. R. Megala
during the period of his study in the Department of Computer Science, Periyar
University, Salem under my supervision and guidance and the dissertation has not
formed the basis for the award of any Degree / Diploma / Associate ship / Fellowship
or similar title to any candidate of any University.
Place: Salem
Date:
Words cannot completely express the gratitude to those people who helped me a
lot in the completion of this dissertation.
I am very much grateful to my beloved PARENTS who helped me in all the ways and
molded me into what I am today. I thank the almighty for the blessings that have been
showered upon me to bring forth the success of this dissertation.
My heart goes all in gratitude to my husband, all my friends and authorities who
R.MEGALA
CONTENTS
ABSTRACT
1 INTRODUCTION 1
2 ANT-AGENT 11
3 20
4 RELATED WORK 23
5 24
7 CONCLUSION 47
REFERENCES 48
ABSTRACT
There are neither fixed routers nor fixed locations for the routers as in cellular
networks - also known as infrastructure networks (Fig. 1). Cellular networks consist of a
wired backbone which connects the base-stations. The mobile nodes can only communicate
over a one-hop wireless link to the base-station; multi-hop wireless links are not possible. By
contrast, a MANET has no permanent infrastructure at all.
INTRODUCTION
1.1 Overview
In Ant-agent wired networks [3], wired nodes cooperate with each other to
from a network with a fixed infrastructure such as access point or base stations in which nodes
perform routing discovery and routing safeguarding in a self-organized way.
The Ant-Agent is periodically created by each node and thus the number of
agents in the network can continually be controlled. However, when a connection is deliberate
to be established by a node with another one within the lack of a route in its routing table, the
measured node makes a route request by setting a local variable available for Ant-agent
passing done it. A first mobile agent, called Ant-Agent, is dependable of establishing routes.
A second mobile agent, called Rectifier-Ant, is issued by a node whenever a change in the
network topology is detected. Our protocol is a whole multi-agent based system our typical
remains based on the ant behavior.
A quantity of ant-based routing algorithms occurs either in wired [4] or in
wireless [5-9] networks. These days, the focus of research is being set on new technologies
and routing protocols, which no longer need base stations, fixed routers, or any other
infrastructure. The main idea of our protocol is to build a multi agent based system where each
node provides several kinds of agents. Regarding the purposes of the routing task, we design
two main types of agents. A first mobile agent, called Ant-Agent, is responsible of
establishing routes. A second mobile agent, called Rectifier-Ant, is issued by a node whenever
a change in the network topology is detected. Our protocol is a complete multi-agent based
system, where an agent works independently from the others. This fits very well spontaneous
networks such as wired ad-hoc networks, because of the very high mobility and self-
organization properties of this type of networks. Our protocol inherits from the advantages of
this kind of model: autonomous work, distributed intelligence and robustness. Furthermore,
the use of mobile agents allows to easily extending the functionalities of a protocol by simply
adding other agents or by assigning other functionalities to existing ones.
The Ant Colony Optimization due its nature can be applied to the routing of
MANETs. As the MANETs routing can be classified into Proactive, Reactive and Hybrid
categories, similarly ACO applications over MANETs can also be categorized into similar
categories.
1.3 CLASSIFICATION
Table-driven protocols are also called as proactive protocols since they maintain
the routing information even before it is needed. Each and every node in the network
maintains routing information to every other node in the network. Routes information is
generally kept in the routing tables and is periodically updated as the network topology
changes. Many of these routing protocols come from the link-state routing. There exist some
differences between the protocols that come under this category depending on the routing
information being updated in each routing table.
The routing table in each node consists of a list of all available nodes, their
metric, the next hop to destination and a sequence number generated by the destination node.
The routing table is used to transmit packets through the ad hoc network. In order to keep the
routing table consistent with the dynamically changing topology of an ad hoc network the
nodes have to update the routing table periodically or when there is a significant change in
the network. Therefore mobile nodes advertise their routing information by broadcasting a
routing table update packet. The metric of an update packet starts with metric one for one-hop
neighbors and is incremented by each forwarding node and additionally the original node tags
the update packet with a sequence number. The receiving nodes update their routing tables if
the sequence number of the update is greater than the current one or it is equal and the metric
is smaller than the current metric. Delaying the advertisement of routes until best routes have
been found may minimize fluctuations of the routing table. On the other hand the spreading
of the routing information has to be frequent and quick enough to guarantee the consistency
of the routing tables in a dynamic network. There exist two types of update packets. One is
the full dump which contains the entire routing table and must be periodically exchanged.
The other is an incremental update which only consists of the information changed since the
last full dump.
DSDV responds to broken links by invalidating all routes that contain this
link. The routes are immediately assigned an infinite metric and an incremented sequence
number. Broken links can be detected by link and physical layer components or if a node
receives no broadcast packets from its next neighbors for a while. Then the detecting node
broadcasts immediately an update packet and informs the other nodes with it. If the link to a
node is up again, the routes will be re-established when the node broadcasts its routing table.
ANT-NET ALGORITHM
1. The exploration agents of the network use them to decide the next hop to a
destination, randomly selecting among all candidates based on the routing table probabilities
for a specific destination.
2. The data packets deterministically select the path with the highest probability for
the next hop. The sequence of actions in Ant Net is simple and intuitive:
Each network node launches forward ants to all destinations in regular time
intervals.
The ant finds a path to the destination randomly based on the current routing
tables.
The forward ant creates a stack, pushing in trip times for every node as that
node is reached.
When the destination is reached, the backward ant inherits the stack.
The backward ant pops the stack entries and follows the path in reverse.
The routing tables of each visited node are updated based on the trip times.
UPDATING ROUTING TABLES
The update of the routing table is done by using the quantity, r', which derived
according to:
Where T is the trip time from the current node to the destination, μ is average of T, and C is
a scaling factor, usually set to 2.Except for the routing table, each node also possesses a table
with records of the mean and variance of the trip time to every destination. The ratio of the
variance to the mean (σ /μ) is used as a measure of the consistency of the trip times, and
accordingly, it alters the effect of the trip time on the routing table. Based on the value of r',
we determine the relative goodness of the trip time of an ant. Corresponding strategies of
either decreasing or increasing the value of r' by a certain amount are then followed, based on
setting the threshold for the good/bad trip time to 0.5, and selecting a threshold for the (σ /μ)
ratio (see Table 1).
Where Pdf, Pdn are the previous routing table probabilities, f is the node from
which the backward ant comes, Nk is the neighbor of node k (current node), and d is the
destination node. The last step is to update the routing table probabilities using the following
rules
The packets of the network then use these probabilities in a deterministic way,
choosing as next hop the one with the highest probability. The behavior of the Ant Net
algorithm can be more easily understood with an example, therefore, we will discuss in detail
an example for this algorithm.
ANT-AODV (Hybrid)
The protocol is compared to the AODV protocol and the results in the terms of end-
to-end delay, packet delivery fraction, and normalised routing overhead and node
connectivity. Simulation performed by Shivanajay. Tham and Srinivasan indicate that the
end-to-end delay and packet delivery fraction of Ant-AODV is comparable to AODV, with
Ant-AODV having slightly higher normalised routing overhead due to the continuous
proactive movement of forward ants.
CHAPTER -2
LITERATURE REVIEW:
This section explores some of the researches done on Routing in MANET using
Ant Colony Optimization by various researchers in previous years.
In 2013, Aws Kanan et al. [8] applied the Ant Colony evolutionary optimization technique to
the routing problem, where more of those desirable properties can be implied in the guided
probabilistic choice of paths. Simulations of a routing based on the biological system referred
to as Ant Colony Optimization (ACO) were conducted, taking into account several factors to
analyze its adaptive nature. Scenarios with high degrees of node mobility showed that the
performance of the algorithm in terms of average end-to-end delay and success rate was not
degraded.