SlideShare uma empresa Scribd logo
1 de 16
What is Software Reliability ?
Reliability is usually defined in terms of a
statistical measure for the operation of a software
system without a failure occurring
Software reliability is a measure for the
probability of a software failure occurring
Swarm Intelligence
• “Swarm intelligence (SI) is artificial intelligence
based on the collective behaviour of
decentralized, self-organized systems”
Ant Colony Optimization (Li et al., 2010) is a
technique which uses probability to solve problems
where the computations are reduced with the help of
graphs to get efficient paths. Observing the behavior of
ants when they search for a path from their colony to the
food source, this algorithm was used to find the optimal
path. This concept has been expanded in solving a wide
variety of numerical problems. Many solutions have
been suggested based on different aspects of ant
behavior. ACO is a bionic simulated evolutionary
algorithm. ACO was applied to many optimization
Natural behavior of an ant
Foraging modes

•
•
•
•
•
•

Wander mode
Search mode
Return mode
Attracted mode
Trace mode
Carry mode
Natural behavior of ant
• The first ant finds the food source (F), via any way
(a), then returns to the nest (N), leaving behind a trail
pheromone (b)
Applications
•
•
•
•

Traveling Salesman Problem
Quadratic Assignment Problem
Network Model Problem
Vehicle routing
RELATING NATURE TO COMPUTER SCIENCE
NATURE

COMPUTER SCIENCE

Natural habitat

Graph (nodes and edges)

Nest and Food

Nodes in graph

Ants

Agents

Visibility

Reciprocal of distance

Pheromone

Artificial pheromone

Foraging behavior

Random walk through graph
ACO for the Traveling Salesman Problem
The TSP is a very important problem in the context
of Ant Colony Optimization because it is the
problem to which the original AS was first applied,
and it has later often been used as a benchmark to
test a new idea and algorithmic variants.
• It is a metaphor problem for the ant colony
• It is one of the most studied NP-hard problems in the combinatorial
optimization

• It is very easily to explain. So that the algorithm behavior is not
obscured by too many technicalities.
ACO Algorithm for TSP
Initialize

Place each ant in a randomly chosen city

For Each Ant
Choose NextCity(For Each Ant)

yes

more cities
to visit
No

Return to the initial cities
Update trace level using the tour cost for each ant
No

Stopping
criteria
yes

Print Best tour
Ant Colony Optimization (ACO) for TSP

Graph (N,E): where N = cities(nodes), E = edges

dij

= the tour cost from city i to city j (edge weight)

Ant move from one city i to the next j with some transition
probability.

B

A

D

C
[ ij ( t )] [
k
ij

p (t )

[
k allowed k

ik

ij

]

( t )] [

ik

if j allowedk

]

0

ij

otherwise

(t 1)

k
i, j

ij

(t )

ij

Q
if (i, j ) bestTour
Lk
0

otherwise
Some inherent advantages
• Positive Feedback accounts for rapid discovery of
good solutions
• The collective interaction of a population of agents.

Disadvantages in Ant Systems
• Slower convergence than other Heuristics
• Performed poorly for TSP problems larger than
75 cities.
Conclusion
• ACO is a relatively new meta heuristic approach for
solving hard combinatorial optimization problems.
• Artificial ants implement a randomized construction
heuristic which makes probabilistic decisions.
• The cumulated search experience is taken into account by
the adaptation of the pheromone trail.
• ACO shows great performance with the “ill-structured”
problems like network routing.
• In ACO local search is important to obtain good results.
Acoseminar

Mais conteúdo relacionado

Destaque

Imagen corporativa diapositivas
Imagen corporativa diapositivasImagen corporativa diapositivas
Imagen corporativa diapositivasTatis Quintero
 
201107325 mi mongake
201107325 mi  mongake201107325 mi  mongake
201107325 mi mongakeMpho Mongake
 
Welcome to Malmi
Welcome to MalmiWelcome to Malmi
Welcome to MalmiSethela92
 
Pemodenan johor melambatkan campur tangan british
Pemodenan johor melambatkan campur tangan britishPemodenan johor melambatkan campur tangan british
Pemodenan johor melambatkan campur tangan britishrakeesh99
 
Sunshine christian bilingual school
Sunshine christian bilingual schoolSunshine christian bilingual school
Sunshine christian bilingual schoolAntonio J Rodríguez
 
Twitter, terminología básica
Twitter, terminología básicaTwitter, terminología básica
Twitter, terminología básicaFelipe Montoya Gil
 
Fjas presentation mk1
Fjas presentation mk1Fjas presentation mk1
Fjas presentation mk1Troy Gonzalez
 
Twitter, terminología básica
Twitter, terminología básicaTwitter, terminología básica
Twitter, terminología básicaFelipe Montoya Gil
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimizationMeenakshi Devi
 

Destaque (16)

Shebin sheraf
Shebin sherafShebin sheraf
Shebin sheraf
 
Imagen corporativa diapositivas
Imagen corporativa diapositivasImagen corporativa diapositivas
Imagen corporativa diapositivas
 
201107325 mi mongake
201107325 mi  mongake201107325 mi  mongake
201107325 mi mongake
 
Welcome to Malmi
Welcome to MalmiWelcome to Malmi
Welcome to Malmi
 
Pemodenan johor melambatkan campur tangan british
Pemodenan johor melambatkan campur tangan britishPemodenan johor melambatkan campur tangan british
Pemodenan johor melambatkan campur tangan british
 
Ned coat news, oktober 2008
Ned coat news, oktober 2008Ned coat news, oktober 2008
Ned coat news, oktober 2008
 
Sunshine christian bilingual school
Sunshine christian bilingual schoolSunshine christian bilingual school
Sunshine christian bilingual school
 
Twitter, terminología básica
Twitter, terminología básicaTwitter, terminología básica
Twitter, terminología básica
 
Fjas presentation mk1
Fjas presentation mk1Fjas presentation mk1
Fjas presentation mk1
 
el-gorila-razan
 el-gorila-razan el-gorila-razan
el-gorila-razan
 
Physics lab report
Physics lab reportPhysics lab report
Physics lab report
 
Twitter, terminología básica
Twitter, terminología básicaTwitter, terminología básica
Twitter, terminología básica
 
Rise of dictatorship
Rise of dictatorshipRise of dictatorship
Rise of dictatorship
 
Kerajaan Gowa-Tallo
Kerajaan Gowa-TalloKerajaan Gowa-Tallo
Kerajaan Gowa-Tallo
 
Ant colony Optimization
Ant colony OptimizationAnt colony Optimization
Ant colony Optimization
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 

Semelhante a Acoseminar

Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimizationJoy Dutta
 
antcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdfantcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdfnrusinhapadhi
 
53564379-Ant-Colony-Optimization.ppt
53564379-Ant-Colony-Optimization.ppt53564379-Ant-Colony-Optimization.ppt
53564379-Ant-Colony-Optimization.pptAhmedSalimJAlJawadi
 
Ant Colony Optimization (ACO)
Ant Colony Optimization (ACO)Ant Colony Optimization (ACO)
Ant Colony Optimization (ACO)Mahmoud El-tayeb
 
Travelling salesman problem
Travelling salesman problemTravelling salesman problem
Travelling salesman problemWajahat Hussain
 
Path Planning of Mobile aco fuzzy-presentation.pptx
Path Planning of Mobile aco fuzzy-presentation.pptxPath Planning of Mobile aco fuzzy-presentation.pptx
Path Planning of Mobile aco fuzzy-presentation.pptxssuserf6b378
 
Chaotic ANT System Optimization for Path Planning of the Mobile Robots
Chaotic ANT System Optimization for Path Planning of the Mobile RobotsChaotic ANT System Optimization for Path Planning of the Mobile Robots
Chaotic ANT System Optimization for Path Planning of the Mobile Robotscseij
 
Swarm Intelligence Technique ACO and Traveling Salesman Problem
Swarm Intelligence Technique ACO and Traveling Salesman ProblemSwarm Intelligence Technique ACO and Traveling Salesman Problem
Swarm Intelligence Technique ACO and Traveling Salesman ProblemIRJET Journal
 
An improved ant colony algorithm based on
An improved ant colony algorithm based onAn improved ant colony algorithm based on
An improved ant colony algorithm based onIJCI JOURNAL
 
Mobile robot path planning using ant colony optimization
Mobile robot path planning using ant colony optimizationMobile robot path planning using ant colony optimization
Mobile robot path planning using ant colony optimizationeSAT Publishing House
 
Solving Quadratic Assignment Problems (QAP) using Ant Colony System
Solving Quadratic Assignment Problems (QAP) using Ant Colony SystemSolving Quadratic Assignment Problems (QAP) using Ant Colony System
Solving Quadratic Assignment Problems (QAP) using Ant Colony SystemAjay Bidyarthy
 
Seminer-Merve AYDIN-4802220035-SUNUM.pptx
Seminer-Merve AYDIN-4802220035-SUNUM.pptxSeminer-Merve AYDIN-4802220035-SUNUM.pptx
Seminer-Merve AYDIN-4802220035-SUNUM.pptxssuserf6b378
 
Bio-inspired computing Algorithms.pptx
Bio-inspired computing Algorithms.pptxBio-inspired computing Algorithms.pptx
Bio-inspired computing Algorithms.pptxpawansher2002
 
Microscopic Image Analysis of Nanoparticles by Edge Detection Using Ant Colon...
Microscopic Image Analysis of Nanoparticles by Edge Detection Using Ant Colon...Microscopic Image Analysis of Nanoparticles by Edge Detection Using Ant Colon...
Microscopic Image Analysis of Nanoparticles by Edge Detection Using Ant Colon...IOSR Journals
 
ABC-GSX:Hybrid method to solve TSP
ABC-GSX:Hybrid method to solve TSPABC-GSX:Hybrid method to solve TSP
ABC-GSX:Hybrid method to solve TSPgauravon
 
The optimization of running queries in relational databases using ant colony ...
The optimization of running queries in relational databases using ant colony ...The optimization of running queries in relational databases using ant colony ...
The optimization of running queries in relational databases using ant colony ...ijdms
 

Semelhante a Acoseminar (20)

Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
antcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdfantcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdf
 
53564379-Ant-Colony-Optimization.ppt
53564379-Ant-Colony-Optimization.ppt53564379-Ant-Colony-Optimization.ppt
53564379-Ant-Colony-Optimization.ppt
 
Ant Colony Optimization (ACO)
Ant Colony Optimization (ACO)Ant Colony Optimization (ACO)
Ant Colony Optimization (ACO)
 
Travelling salesman problem
Travelling salesman problemTravelling salesman problem
Travelling salesman problem
 
Path Planning of Mobile aco fuzzy-presentation.pptx
Path Planning of Mobile aco fuzzy-presentation.pptxPath Planning of Mobile aco fuzzy-presentation.pptx
Path Planning of Mobile aco fuzzy-presentation.pptx
 
Chaotic ANT System Optimization for Path Planning of the Mobile Robots
Chaotic ANT System Optimization for Path Planning of the Mobile RobotsChaotic ANT System Optimization for Path Planning of the Mobile Robots
Chaotic ANT System Optimization for Path Planning of the Mobile Robots
 
Swarm Intelligence Technique ACO and Traveling Salesman Problem
Swarm Intelligence Technique ACO and Traveling Salesman ProblemSwarm Intelligence Technique ACO and Traveling Salesman Problem
Swarm Intelligence Technique ACO and Traveling Salesman Problem
 
An improved ant colony algorithm based on
An improved ant colony algorithm based onAn improved ant colony algorithm based on
An improved ant colony algorithm based on
 
222 226
222 226222 226
222 226
 
Mobile robot path planning using ant colony optimization
Mobile robot path planning using ant colony optimizationMobile robot path planning using ant colony optimization
Mobile robot path planning using ant colony optimization
 
Solving Quadratic Assignment Problems (QAP) using Ant Colony System
Solving Quadratic Assignment Problems (QAP) using Ant Colony SystemSolving Quadratic Assignment Problems (QAP) using Ant Colony System
Solving Quadratic Assignment Problems (QAP) using Ant Colony System
 
Seminer-Merve AYDIN-4802220035-SUNUM.pptx
Seminer-Merve AYDIN-4802220035-SUNUM.pptxSeminer-Merve AYDIN-4802220035-SUNUM.pptx
Seminer-Merve AYDIN-4802220035-SUNUM.pptx
 
Bio-inspired computing Algorithms.pptx
Bio-inspired computing Algorithms.pptxBio-inspired computing Algorithms.pptx
Bio-inspired computing Algorithms.pptx
 
The Joy of SLAM
The Joy of SLAMThe Joy of SLAM
The Joy of SLAM
 
Microscopic Image Analysis of Nanoparticles by Edge Detection Using Ant Colon...
Microscopic Image Analysis of Nanoparticles by Edge Detection Using Ant Colon...Microscopic Image Analysis of Nanoparticles by Edge Detection Using Ant Colon...
Microscopic Image Analysis of Nanoparticles by Edge Detection Using Ant Colon...
 
ABC-GSX:Hybrid method to solve TSP
ABC-GSX:Hybrid method to solve TSPABC-GSX:Hybrid method to solve TSP
ABC-GSX:Hybrid method to solve TSP
 
acoa
acoaacoa
acoa
 
Swarm intelligence algorithms
Swarm intelligence algorithmsSwarm intelligence algorithms
Swarm intelligence algorithms
 
The optimization of running queries in relational databases using ant colony ...
The optimization of running queries in relational databases using ant colony ...The optimization of running queries in relational databases using ant colony ...
The optimization of running queries in relational databases using ant colony ...
 

Último

COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptxJoelynRubio1
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
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
 
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.docxRamakrishna Reddy Bijjam
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
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.pptxAreebaZafar22
 
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...Amil baba
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationNeilDeclaro1
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsNbelano25
 
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 17Celine George
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
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.pptxDenish Jangid
 

Último (20)

COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.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...
 
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
 
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
 
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...
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health Education
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
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
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
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
 

Acoseminar

  • 1.
  • 2. What is Software Reliability ? Reliability is usually defined in terms of a statistical measure for the operation of a software system without a failure occurring Software reliability is a measure for the probability of a software failure occurring
  • 3. Swarm Intelligence • “Swarm intelligence (SI) is artificial intelligence based on the collective behaviour of decentralized, self-organized systems”
  • 4. Ant Colony Optimization (Li et al., 2010) is a technique which uses probability to solve problems where the computations are reduced with the help of graphs to get efficient paths. Observing the behavior of ants when they search for a path from their colony to the food source, this algorithm was used to find the optimal path. This concept has been expanded in solving a wide variety of numerical problems. Many solutions have been suggested based on different aspects of ant behavior. ACO is a bionic simulated evolutionary algorithm. ACO was applied to many optimization
  • 5. Natural behavior of an ant Foraging modes • • • • • • Wander mode Search mode Return mode Attracted mode Trace mode Carry mode
  • 7. • The first ant finds the food source (F), via any way (a), then returns to the nest (N), leaving behind a trail pheromone (b)
  • 8. Applications • • • • Traveling Salesman Problem Quadratic Assignment Problem Network Model Problem Vehicle routing
  • 9. RELATING NATURE TO COMPUTER SCIENCE NATURE COMPUTER SCIENCE Natural habitat Graph (nodes and edges) Nest and Food Nodes in graph Ants Agents Visibility Reciprocal of distance Pheromone Artificial pheromone Foraging behavior Random walk through graph
  • 10. ACO for the Traveling Salesman Problem The TSP is a very important problem in the context of Ant Colony Optimization because it is the problem to which the original AS was first applied, and it has later often been used as a benchmark to test a new idea and algorithmic variants. • It is a metaphor problem for the ant colony • It is one of the most studied NP-hard problems in the combinatorial optimization • It is very easily to explain. So that the algorithm behavior is not obscured by too many technicalities.
  • 11. ACO Algorithm for TSP Initialize Place each ant in a randomly chosen city For Each Ant Choose NextCity(For Each Ant) yes more cities to visit No Return to the initial cities Update trace level using the tour cost for each ant No Stopping criteria yes Print Best tour
  • 12. Ant Colony Optimization (ACO) for TSP Graph (N,E): where N = cities(nodes), E = edges dij = the tour cost from city i to city j (edge weight) Ant move from one city i to the next j with some transition probability. B A D C
  • 13. [ ij ( t )] [ k ij p (t ) [ k allowed k ik ij ] ( t )] [ ik if j allowedk ] 0 ij otherwise (t 1) k i, j ij (t ) ij Q if (i, j ) bestTour Lk 0 otherwise
  • 14. Some inherent advantages • Positive Feedback accounts for rapid discovery of good solutions • The collective interaction of a population of agents. Disadvantages in Ant Systems • Slower convergence than other Heuristics • Performed poorly for TSP problems larger than 75 cities.
  • 15. Conclusion • ACO is a relatively new meta heuristic approach for solving hard combinatorial optimization problems. • Artificial ants implement a randomized construction heuristic which makes probabilistic decisions. • The cumulated search experience is taken into account by the adaptation of the pheromone trail. • ACO shows great performance with the “ill-structured” problems like network routing. • In ACO local search is important to obtain good results.