ant colony optimization ns2 code
#1

ns2 code is needed for implementing sinkhole detection in wsn, using ant colony optimization
Reply
#2
In computation and operations research, the ant colony optimization algorithm (ACO) is a probabilistic technique for solving computational problems that can be reduced to finding good paths through graphs.


This algorithm is a member of the family of ant colony algorithms, in swarm intelligence methods, and constitutes some metaheuristic optimizations. Initially proposed by Marco Dorigo in 1992 in his doctoral thesis, the first algorithm looked for an optimal path in a graph, based on the behavior of the ants that looked for a way between their colony and a source of food. The original idea has since diversified to solve a wider class of numerical problems, and as a result, several problems have arisen, which are based on various aspects of ant behavior.

In the natural world, ants (initially) roam at random, and upon finding the return of food to their colony, while establishing the pheromone trails. If other ants find this way, they probably will not continue to travel randomly, but will follow the path, returning and reinforcing it if they finally find food.

Over time, however, the pheromone trail begins to evaporate, thus reducing its attractive strength. The longer it takes an ant to travel down the road and back again, the longer the pheromones have to evaporate. A short path, by comparison, is paraded more frequently, and therefore the density of pheromones becomes higher in trajectories shorter than the longer ones. Pheromone evaporation also has the advantage of avoiding convergence to a locally optimal solution. If there were no evaporation, the paths chosen by the first ants would tend to be excessively attractive to the next ones. In that case, the exploration of solution space would be limited.

Therefore, when an ant finds a good (ie short) path from the colony to a food source, other ants are more likely to follow that path, and positive feedback eventually leads to all ants following a single path . The idea of the ant colony algorithm is to mimic this behavior with "simulated ants" by walking around the graph representing the problem to be solved.

This publication contains extensions to NS-2 (versions 2.27 and 2.28) that allows ACO behavior in WSN. The module is adaptable to the current version of NS-2 as it is installed as a new routing protocol. Written mainly in C ++, the ACO module (AntSense) produces the main attributes, however it was designed to be used by any other technology supported by this simulator.
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: ant colony optimization source code of ns2, ant colony optimization source code in ns2, ant colony optimization algorithm sorce code in ns2, ant colony optimization in ns2, ant colony optimization for aodv ns2, ant colony optimization ns2 code,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
Sad wormhole attack is implemented in ns2 at the network layer 13 4,481 05-05-2017, 01:42 PM
Last Post: neeraj.kuntal90
  ns2 projects for wormhole attack detection with source code free download 8 6,349 15-04-2017, 04:31 PM
Last Post: Guest
  ns2 source code free download broadcast message 1 969 15-04-2017, 02:42 PM
Last Post: jaseela123d
  sinkhole aodv implementation code in ns2 1 881 10-04-2017, 04:25 PM
Last Post: jaseela123d
  matlab code for adaptive differential pulse code modulation 1 1,129 04-04-2017, 11:49 AM
Last Post: jaseela123d
  ns2 coding for clone node attack 1 747 04-04-2017, 10:04 AM
Last Post: jaseela123d
  load balancing using ns2 1 737 31-03-2017, 01:55 PM
Last Post: jaseela123d
  aco source code for ns2 1 740 30-03-2017, 12:17 PM
Last Post: jaseela123d
  download matlab code for bee colony algorithm 1 1,015 29-03-2017, 03:06 PM
Last Post: jaseela123d
  source code for anycast algorithm on ns2 1 640 28-03-2017, 10:54 AM
Last Post: jaseela123d

Forum Jump: