SlideShare ist ein Scribd-Unternehmen logo
1 von 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 !

Weitere ähnliche Inhalte

Was ist angesagt?

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

Was ist angesagt? (20)

ant colony optimization
ant colony optimizationant colony optimization
ant colony optimization
 
Ant Colony Optimization - ACO
Ant Colony Optimization - ACOAnt Colony Optimization - ACO
Ant Colony Optimization - ACO
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Show ant-colony-optimization-for-solving-the-traveling-salesman-problem
Show ant-colony-optimization-for-solving-the-traveling-salesman-problemShow ant-colony-optimization-for-solving-the-traveling-salesman-problem
Show ant-colony-optimization-for-solving-the-traveling-salesman-problem
 
Ant colony algorithm
Ant colony algorithm Ant colony algorithm
Ant colony algorithm
 
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
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Ant Colony Optimization
Ant Colony OptimizationAnt Colony Optimization
Ant Colony Optimization
 
ant colony algorithm
ant colony algorithmant colony algorithm
ant colony algorithm
 
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...
 
Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms
 
Particle Swarm Optimization - PSO
Particle Swarm Optimization - PSOParticle Swarm Optimization - PSO
Particle Swarm Optimization - PSO
 
Ant Colony Optimization: Routing
Ant Colony Optimization: RoutingAnt Colony Optimization: Routing
Ant Colony Optimization: Routing
 
Metaheuristics
MetaheuristicsMetaheuristics
Metaheuristics
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 
ABC Algorithm.
ABC Algorithm.ABC Algorithm.
ABC Algorithm.
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Kürzlich hochgeladen

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
 

Kürzlich hochgeladen (20)

Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
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
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
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
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
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
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
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...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 

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