Analysis Of Ant Colony Algorithm

Improved Essays
Ant colony algorithm has three steps: pheromone initialization, building tour, updating pheromone.For the ant colony algorithm, path selection influence a little by the pheromone initialization. In order to get a better result, the pheromone value is always initialized slightly higher than the one released in each iteration.We have taken the initial value of pheromone as τij(0)= m/Cmin

where , τij(t) is the residual pheromone on the path between node i and node j at moment t. m is the number of ants.Cmin is the minimum of product of distance and traffic density between the two junctions. In the process of planning path,the kth(k=1,2,...,m) ant chooses next junction based on probability

S = [τij(t)]. [ij]
…show more content…
Using Arrangement of the Ant Colony Algorithm to solve Chinese TSP problem setting m=25, α=1, β = 5, ρ = 0.25, the number of ant that can release pheromone is 7, and the maximum iterations is 100, the simulation results show that its optimal solution is 15,381km, and the iterations is only 58 times[10]. Which is less than genetic algorithm,alignment algorithm and other algorithms.But it still falls into local optimum easily and has low probability to get the optimal …show more content…
The impact on ant selection for next iteration is greater, it is easier to get the same solution, so the solution is stable, but it is not the optimal solution.

Inspired by this,we improve the ant colony algorithm with introducing dynamically adjust ant number. We neither consider too large ant number nor too small. increaseThis increases the global search capability to find the optimal result.We can update ant number in two ways. one is updated fixedly and the other way is updated randomly.We start with fewer ants at beginning, and the ant number is updated with the iteration process,where each time the updation number is same.Whereas,in update-randomly way,update number is random.The flow chart of this improved version of algorithm is as

Related Documents

  • Improved Essays

    This would lead to a problem because worker ants are not as capable fighters as soldier ants, leading to a weaker colony. This is evident during the phase where Z and Weaver “switched places”, and Z went out to battle. During the battle, Z was hiding while all the other soldier ants were battling away (at ¼ of the movie). The Queen’s Society guarantees that every ant is assigned a proper job, which results in a very strong colony. This is shown throughout the entire movie as worker ants were always digging, and soldier ants were ready for battle.…

    • 621 Words
    • 3 Pages
    Improved Essays
  • Superior Essays

    Nt1330 Unit 7 Exercise 1

    • 756 Words
    • 4 Pages

    6 8. The following parameters are calculated for each of the node in each of the server wings: Voltage, Temperature, Fan Speed, CPU Utilization. After we calculate the theoretical values of the parameters we calculate the threshold value using the above, if the calculated value exceeds the threshold value there is a chances of the node to fail, and hence we take the previously mentioned migration policies to tackle the situation.…

    • 756 Words
    • 4 Pages
    Superior Essays
  • Improved Essays

    The specification of hardware is GPU used : NVIDIA GTX280 (has about 30 multiprocessors each with 8 processors, frequency is 1.29 GHz) CPU used : Intel i5D, 4 cores, frequency of 2.67 GHz. GPU memory, bandwidth : 1 GB, 141.7GB/s To get a more clear picture speedup calculated only after the I/O file is completed. Results that are obtained from the proposed differential (data size dependent) approach are compared with other approaches like HP_k_means (for smaller hence low-dimension data), UV_k-means , GMiner (for large data sets) and then fialy the performance is compared with CPU. A. Small data sets (Low –dimension) For this a data set of sizes 2 million and 4 million with varying values of “k” (number of the distinct sets/groups) and “d”…

    • 971 Words
    • 4 Pages
    Improved Essays
  • Decent Essays

    We implemented the proposed algorithm in HM15.0 [4] of H.265/HEVC reference software and compared it with TZ Search in terms of computations (search speed measured by total encoding time and ME time) and performance (PSNR and bit rate). Average Speedup is defined as the ratio of the time of TZ search algorithm to the proposed algorithm. Test conditions [8] for simulation are as follows: 1. Four different quantization parameters (QP=22, 27, 32, 37) to test the algorithm at different bit rates. 2.…

    • 279 Words
    • 2 Pages
    Decent Essays
  • Improved Essays

    The Swarm Research Paper

    • 203 Words
    • 1 Pages

    The Sswarm has a very strong roster in the offence and defence making them a top contender to win the championship. The Swarm have one of the strongest offence in the league. There offence consists of stars like Miles, Jerome and Lyle Thompson, Kiel Matisz, and Jordan hall. The swarm has 37 power play goals, in 70 powerplays giving them a 52.86 percentage of scoring on power plays. The swarms Defence has been on fire this year, with stars Alex Crepinsek, John Ranagan, Connor sellars, Mitch belisle, Chad Tutton, Jason Noble with 50 loose balls.…

    • 203 Words
    • 1 Pages
    Improved Essays
  • Superior Essays

    c) Uniform-cost search is a special case of A∗ search.  TRUE Heuristic is a constant function or h (n) =0 uniform cost search will produce the same result as A*Search. d) Breadth-first search always expands at least as many nodes as A * search with an admissible heuristic.…

    • 1120 Words
    • 5 Pages
    Superior Essays
  • Improved Essays

    1.) On the first Matrix game I decided that my strategy would be to always choose A: Y loses 2. O gains two. I decided this because it seemed like I would be losing less. However, on the second round I decided that I would try out my luck and choose B, which turned out to be the wrong move.…

    • 795 Words
    • 4 Pages
    Improved Essays
  • Decent Essays

    The authors audience for this essay was anyone that deals with anxiety or depression. These ANTs affect them and the way the perceive themselves. Knowing the different ANTs can help them alter the way they think about themselves. ‘Always or never thinking’ is an example of an ANT species. This automatic negative thought overgeneralizes ideas.…

    • 157 Words
    • 1 Pages
    Decent Essays
  • Improved Essays

    Revolution Vs Rebellion

    • 2243 Words
    • 9 Pages

    The ant knows the time of preparation and the time for eating. Does it gather during the winter months? Of course not! It gathers during the good weather to prepare for the worse.…

    • 2243 Words
    • 9 Pages
    Improved Essays
  • Decent Essays

    Paramecium Aurelia Essay

    • 531 Words
    • 3 Pages

    In experiment 1, the growth of Paramecium aurelia fits the curve of the logistic population growth because they have limited resources as the intraspecific competition, influencing negatively on fitness for both individuals. From Day 0 to Day 12, with unlimited resource, Paramecium aurelia is at the acceleration phase, more growing cells than dead cells. Day 12 where the inflection point is indicates the growth rate changes to constant. After Day 12 and until Day 14, the growth enters the deceleration phase that the birth rate almost equals to the birth rate. Beginning at Day 14, there is a steady state because the birth rate equals to the death rate.…

    • 531 Words
    • 3 Pages
    Decent Essays
  • Improved Essays

    Popgenlab Research Paper

    • 675 Words
    • 3 Pages

    Abstract: This paper explores and examines how migration affects a population, and how it affects the frequency or change of alleles in a population. It is asked, “How does migration affect heterozygosity in a population?” I predicted that migration increases heterozygosity in isolated populations. To explore and test out this hypothesis the moth program in the “PopGenLab” was used to carry out the experiment.…

    • 675 Words
    • 3 Pages
    Improved Essays
  • Superior Essays

    These ants not only have to gather food for themselves but also for a group of grasshoppers who in…

    • 1212 Words
    • 5 Pages
    Superior Essays
  • Decent Essays

    Recently, I have grown interest in artificial intelligence and I decided to make my senior capstone related to it. For my capstone, I decided to develop a chess game that would allow a user to play against the computer. In the fall of 2015, I researched about how to develop the program and learned about the mathematics beyond developing the AI. After the research, I decided about the features that version one will include.…

    • 239 Words
    • 1 Pages
    Decent Essays
  • Great Essays

    Inez Davidson wanted her students to grasp that a society cannot function if they do not know how to work in it. She taught them basic skills that will help them in the long run for their future advances. However, naturally people do not need to be guided, individuals know how to better the community because they will collaborate in order to aid one another, as shown with the ant colonies. The ants subconsciously knew they needed to take care of the queen ant because she was the thriving force of the society. The ants did not need to be told this or learn that this is how the society is…

    • 1638 Words
    • 7 Pages
    Great Essays
  • Improved Essays

    As computers became essential to business, industry, trades, and professions, educators and parents became increasingly concerned that young people acquire at minimum the basic understanding of computers and master the related skills. 2. Explain computer algorithms and its significance An algorithm is a set of instructions designed to perform a specific task. In computer science, an algorithm is a set of steps for a computer application to accomplish a task.…

    • 790 Words
    • 4 Pages
    Improved Essays