SlideShare a Scribd company logo
1 of 17
Ant Colony Optimization

 An adaptative nature inspired algorithm
 explained, concretely implemented, and
 applied to routing protocols in wired and
             wireless networks.
Plan
   The ants
   The double bridge experiment
   From biological ants to agents
   Java Implementation
       Demonstration 1
   The different moves of the ants
       Demonstration 2
   Adaptation of the Ants-based algorithm to routing protocols
   ACO compared to RIP and OSPF
   Examples of effective implementations
   Results of the analysed reports
   Questions
The ants
   Can explore vast areas without global view
    of the ground.

   Can find the food and bring it back to the
    nest.

   Will converge to the shortest path.
How can they manage such great tasks ?
   By leaving pheromones behind them.

   Wherever they go, they let pheromones
    behind here, marking the area as explored
    and communicating to the other ants that
    the way is known.

   Double Bridge experiment
Double Bridge experiment



                           Food
From biological ants to ant-agent
   Distributed process:
       local decision-taking
       Autonomous
       Simultaneous

   Macroscopic development from
    microscopic probabilistic decisions

   Problem: adaptation to reality
From biological ants to ant-agent
   Solution:

       Pheromone upgrade: evaporation.

       Ant aging: after a given time, ants are tired
        and have to come back to the nest.

       2 different pheromones : away (from nest) and
        back (from source of food).
Java Implementation
   Object modeling:
       Definition of the objects:
            Ant
            Playground
            Traces

       Playground: central object, contains a list of ants, an
        array of traces. Manages the processes and the
        graphical output.

       Ant: can move by itself, according to the traces around
        it and a random decision.
       Traces: amount of pheromones of 2 types, Away and
        Back.
Demonstration 1
  2-Bridge Experiment
Interesting Convergence
Possible moves of Ants
   Four types:
       From home to food
            Goal has never been reached:
             moveStraightAwayFromAway();
            Goal reached:                   moveTowardAway();
       Back to home
            Goal has never been reached: moveFromFoodToHome();
            Goal reached: moveFromHomeToFood();


   Idea: generates several random moves and see
    which one is the best among them.
Demonstration 2
 A difficult playground
Adaptation of the Ants-based algorithm
to routing protocols
                                          E

                       F




                                                    D


                 A                                  Food


                Nest          B
                                              C




  Ants will start from A the nest and look for D the food. At every
  step, they will upgrade the routing tables and as soon as the
  first one reaches the food, the best path will be known, thus
  allowing communication from D to A.
ACO Compared to RIP and OSPF
   RIP / OSPF:
       Transmit routing table or flood LSPs at regular interval
       High routing overhead
       Update the entire table
       Based on transmission time / delay

   ACO algorithm:
       Can be attached to data
       Frequent transmissions of ants
       Low routing overhead
       Update an entry in a pheromone table independently
Examples of effective implementations
   Existing MANET routing protocols:
       DSDV, OLSR, AODV, DSR, ZRP (Zone Routing Protocol),
        GPSR (Greedy Perimeter Stateless Routing), TRP
        (Terminale Routing Protocol)

   Routing protocols presented in the paper:
       ABC, Ant Based Control system, for wired networks.
       AntNet, for MANET.
       ARA, Ant-Colony-Based Routing Algorithm, for MANET.
       AntHocNet, for MANET.
       MARA, Multiple-agents Ants-based Routing Algorithm
Results of the analysed reports
   ABC applied to SDH network (30 nodes): the routes are
    perfectly resumed and alternative possibilities are
    memorized as well.

   AntNet in a complex wired network is more efficient than
    OSPF, and show very stable performances.

   ARA, for 50 mobile nodes in 1500x300m area, give the
    same performance than DSR for less overhead traffic.

   AntHocNet, simulated with QualNet: 100 nodes in
    3000x3000m area, radio range of 300m, data rate 2Mbit/s.
    AntHocNet twice more efficient than AODV to deliver
    packets, and is more scalable
Questions ?
Thank you !

More Related Content

What's hot

Ant Colony Optimization: Routing
Ant Colony Optimization: RoutingAnt Colony Optimization: Routing
Ant Colony Optimization: Routing
Adrian Wilke
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
Meenakshi Devi
 

What's hot (20)

Ant Colony Optimization: Routing
Ant Colony Optimization: RoutingAnt Colony Optimization: Routing
Ant Colony Optimization: Routing
 
Optimization by Ant Colony Method
Optimization by Ant Colony MethodOptimization by Ant Colony Method
Optimization by Ant Colony Method
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
ant colony optimization
ant colony optimizationant colony optimization
ant colony optimization
 
Optimization techniques: Ant Colony Optimization: Bee Colony Optimization: Tr...
Optimization techniques: Ant Colony Optimization: Bee Colony Optimization: Tr...Optimization techniques: Ant Colony Optimization: Bee Colony Optimization: Tr...
Optimization techniques: Ant Colony Optimization: Bee Colony Optimization: Tr...
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Ant Colony Optimization
Ant Colony OptimizationAnt Colony Optimization
Ant Colony Optimization
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Classification with ant colony optimization
Classification with ant colony optimizationClassification with ant colony optimization
Classification with ant colony optimization
 
Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Ant colony Optimization
Ant colony OptimizationAnt colony Optimization
Ant colony Optimization
 
Swarm intelligence algorithms
Swarm intelligence algorithmsSwarm intelligence algorithms
Swarm intelligence algorithms
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 
Jyotishkar dey roll 36.(swarm intelligence)
Jyotishkar dey roll  36.(swarm intelligence)Jyotishkar dey roll  36.(swarm intelligence)
Jyotishkar dey roll 36.(swarm intelligence)
 
ACO, Firefly, Modified Firefly, BAT, ABC algorithms
ACO, Firefly, Modified Firefly, BAT, ABC algorithmsACO, Firefly, Modified Firefly, BAT, ABC algorithms
ACO, Firefly, Modified Firefly, BAT, ABC algorithms
 
Particle Swarm optimization
Particle Swarm optimizationParticle Swarm optimization
Particle Swarm optimization
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Firefly algorithm
Firefly algorithmFirefly algorithm
Firefly algorithm
 
Ant colony opitimization numerical example
Ant colony opitimization numerical exampleAnt colony opitimization numerical example
Ant colony opitimization numerical example
 

Similar to Ant colony optimization

Ai presentation
Ai presentationAi presentation
Ai presentation
vini89
 
antcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdfantcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdf
nrusinhapadhi
 
Ant_Colony_Optimization
Ant_Colony_OptimizationAnt_Colony_Optimization
Ant_Colony_Optimization
Neha Reddy
 
Ant colony optimization based routing algorithm in various wireless sensor ne...
Ant colony optimization based routing algorithm in various wireless sensor ne...Ant colony optimization based routing algorithm in various wireless sensor ne...
Ant colony optimization based routing algorithm in various wireless sensor ne...
Editor Jacotech
 

Similar to Ant colony optimization (20)

ANT-presentation.ppt
ANT-presentation.pptANT-presentation.ppt
ANT-presentation.ppt
 
Ant Colony Algorithm
Ant Colony AlgorithmAnt Colony Algorithm
Ant Colony Algorithm
 
cs621-lect7-SI-13aug07.ppt
cs621-lect7-SI-13aug07.pptcs621-lect7-SI-13aug07.ppt
cs621-lect7-SI-13aug07.ppt
 
Cs621 lect7-si-13aug07
Cs621 lect7-si-13aug07Cs621 lect7-si-13aug07
Cs621 lect7-si-13aug07
 
Ai presentation
Ai presentationAi presentation
Ai presentation
 
Bio-inspired computing Algorithms.pptx
Bio-inspired computing Algorithms.pptxBio-inspired computing Algorithms.pptx
Bio-inspired computing Algorithms.pptx
 
acoa
acoaacoa
acoa
 
antcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdfantcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdf
 
231semMish (1).ppt
231semMish (1).ppt231semMish (1).ppt
231semMish (1).ppt
 
Meta Heuristics Optimization and Nature Inspired.ppt
Meta Heuristics Optimization and Nature Inspired.pptMeta Heuristics Optimization and Nature Inspired.ppt
Meta Heuristics Optimization and Nature Inspired.ppt
 
231semMish.ppt
231semMish.ppt231semMish.ppt
231semMish.ppt
 
ANTHOCNET HYBRID ROUTING ALGORITHM FOR MANET USING SWARM TECHNOLOGY
ANTHOCNET HYBRID ROUTING ALGORITHM FOR MANET  USING SWARM TECHNOLOGYANTHOCNET HYBRID ROUTING ALGORITHM FOR MANET  USING SWARM TECHNOLOGY
ANTHOCNET HYBRID ROUTING ALGORITHM FOR MANET USING SWARM TECHNOLOGY
 
Ant_Colony_Optimization
Ant_Colony_OptimizationAnt_Colony_Optimization
Ant_Colony_Optimization
 
bic10_ants.ppt
bic10_ants.pptbic10_ants.ppt
bic10_ants.ppt
 
bic10_ants.ppt
bic10_ants.pptbic10_ants.ppt
bic10_ants.ppt
 
Classification with ant colony optimization
Classification with ant colony optimizationClassification with ant colony optimization
Classification with ant colony optimization
 
ANT ALGORITME.pptx
ANT ALGORITME.pptxANT ALGORITME.pptx
ANT ALGORITME.pptx
 
Ant colony optimization based routing algorithm in various wireless sensor ne...
Ant colony optimization based routing algorithm in various wireless sensor ne...Ant colony optimization based routing algorithm in various wireless sensor ne...
Ant colony optimization based routing algorithm in various wireless sensor ne...
 
Jp2516981701
Jp2516981701Jp2516981701
Jp2516981701
 
Jp2516981701
Jp2516981701Jp2516981701
Jp2516981701
 

Recently uploaded

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Recently uploaded (20)

Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 

Ant colony optimization

  • 1. Ant Colony Optimization An adaptative nature inspired algorithm explained, concretely implemented, and applied to routing protocols in wired and wireless networks.
  • 2. Plan  The ants  The double bridge experiment  From biological ants to agents  Java Implementation  Demonstration 1  The different moves of the ants  Demonstration 2  Adaptation of the Ants-based algorithm to routing protocols  ACO compared to RIP and OSPF  Examples of effective implementations  Results of the analysed reports  Questions
  • 3. The ants  Can explore vast areas without global view of the ground.  Can find the food and bring it back to the nest.  Will converge to the shortest path.
  • 4. How can they manage such great tasks ?  By leaving pheromones behind them.  Wherever they go, they let pheromones behind here, marking the area as explored and communicating to the other ants that the way is known.  Double Bridge experiment
  • 6. From biological ants to ant-agent  Distributed process:  local decision-taking  Autonomous  Simultaneous  Macroscopic development from microscopic probabilistic decisions  Problem: adaptation to reality
  • 7. From biological ants to ant-agent  Solution:  Pheromone upgrade: evaporation.  Ant aging: after a given time, ants are tired and have to come back to the nest.  2 different pheromones : away (from nest) and back (from source of food).
  • 8. Java Implementation  Object modeling:  Definition of the objects:  Ant  Playground  Traces  Playground: central object, contains a list of ants, an array of traces. Manages the processes and the graphical output.  Ant: can move by itself, according to the traces around it and a random decision.  Traces: amount of pheromones of 2 types, Away and Back.
  • 9. Demonstration 1 2-Bridge Experiment Interesting Convergence
  • 10. Possible moves of Ants  Four types:  From home to food  Goal has never been reached: moveStraightAwayFromAway();  Goal reached: moveTowardAway();  Back to home  Goal has never been reached: moveFromFoodToHome();  Goal reached: moveFromHomeToFood();  Idea: generates several random moves and see which one is the best among them.
  • 11. Demonstration 2 A difficult playground
  • 12. Adaptation of the Ants-based algorithm to routing protocols E F D A Food Nest B C Ants will start from A the nest and look for D the food. At every step, they will upgrade the routing tables and as soon as the first one reaches the food, the best path will be known, thus allowing communication from D to A.
  • 13. ACO Compared to RIP and OSPF  RIP / OSPF:  Transmit routing table or flood LSPs at regular interval  High routing overhead  Update the entire table  Based on transmission time / delay  ACO algorithm:  Can be attached to data  Frequent transmissions of ants  Low routing overhead  Update an entry in a pheromone table independently
  • 14. Examples of effective implementations  Existing MANET routing protocols:  DSDV, OLSR, AODV, DSR, ZRP (Zone Routing Protocol), GPSR (Greedy Perimeter Stateless Routing), TRP (Terminale Routing Protocol)  Routing protocols presented in the paper:  ABC, Ant Based Control system, for wired networks.  AntNet, for MANET.  ARA, Ant-Colony-Based Routing Algorithm, for MANET.  AntHocNet, for MANET.  MARA, Multiple-agents Ants-based Routing Algorithm
  • 15. Results of the analysed reports  ABC applied to SDH network (30 nodes): the routes are perfectly resumed and alternative possibilities are memorized as well.  AntNet in a complex wired network is more efficient than OSPF, and show very stable performances.  ARA, for 50 mobile nodes in 1500x300m area, give the same performance than DSR for less overhead traffic.  AntHocNet, simulated with QualNet: 100 nodes in 3000x3000m area, radio range of 300m, data rate 2Mbit/s. AntHocNet twice more efficient than AODV to deliver packets, and is more scalable