How to use Ant Colony Optimization Algorithm for routing in MANET in NS2


Aim of the routing process is to select the shortest path between source and destination. Generally ant selects the shortest path while traveling towards the location of its food. Such kind of strategy is known as Ant Colony Optimization (ACO) which is swarm intelligence based optimization technique. It finds the optimal path between source and destination in the network. It finds the optimal path on the basis of the metric such as shortest distance, high energy and so on.