Algoritmos Genéticos aula 2 - exemplos.

Slides:



Advertisements
Apresentações semelhantes
Presenter’s Notes Some Background on the Barber Paradox
Advertisements

Laboratório de Sistemas Distribuídos (LSD) – Universidade Federal de Campina Grande (UFCG)EELA Grid School – December 04, 2006 Enhancing SegHidro/BRAMS.
Recursos Genéticos e Biotecnologia Um Brasil que dá gosto PEST RISK ANALYSIS ON INVASIVE ALIEN SPECIES THAT THREATEN BRAZILIAN BIOLOGICAL DIVERSITY Martins,
São Paulo - November 7, 2013 Measuring the Cost of Formalization in Brazil © 2003 The Ronald Coase Institute Adopting RCI methodology to measure start.
Chapter Six Pipelining
INPAs insights on LBA (and its role as the coordinating institution): (based on and the message from INPAs General Director, Dr Adalberto Val, and on former.
Recommendations from 16 th SSC on MCT document on LBA-2.
Fact Pack Railway sector in Brazil January, 2005
Aula prática Introdução ao BPMN
Experiências de Indução.
Meeting 17 Chapter & 6-6.
Towards a Requirement Analysis Approach for Dependable Law-Governed Systems Maíra Gatti, Gustavo Carvalho May 2nd 2006.
The use of Interaction Laws on Air Traffic Control for Specifying Dependable Interactions Rodrigo Paes
The use of Interaction Laws on Air Traffic Control for Specifying Dependable Interactions Apt 02 03/04/2007 Domain Analysis Rodrigo Paes
Java RMI Alcides Calsavara. Objetivos Permitir que um método de uma classe Java em execução em uma máquina virtual JVM chame um método de um objeto (instância.
1998 Morgan Kaufmann Publishers Mario Côrtes - MO401 - IC/Unicamp- 2002s1 Ch6-1 Chapter Six Pipelining.
GENOMA HUMANO, 26 Junho 2000.
DIRETORIA ACADÊMICA NÚCLEO DE CIÊNCIAS HUMANAS E ENGENHARIAS DISCIPLINA: INGLÊS FUNDAMENTAL - NOITE PROFESSOR: JOSÉ GERMANO DOS SANTOS PERÍODO LETIVO
DIRETORIA ACADÊMICA NÚCLEO DE CIÊNCIAS HUMANAS E ENGENHARIAS DISCIPLINA: INGLÊS FUNDAMENTAL - NOITE PROFESSOR: JOSÉ GERMANO DOS SANTOS PERÍODO LETIVO
Um pouco mais sobre modelos de objetos. Ray Path Categorization Ray Path Categorization. Nehab, D.; Gattass, M. Proceedings of SIBGRAPI 2000, Brazil,
A.4. Trabalhando com elementos de biblioteca STL – Standard Template Libraby Disponibiliza um conjunto de classes templates, provendo algoritmos eficientes.
Método Experimental Minkowski (1908) : The views of space and time that I wish to lay before you have sprung from the soil of experimental physics, and.
Vetor da rede recíproca.
Aula 02.
Sql-3 ( final ).
GT Processo Eletrônico SG Documentos Eletrônicos Segunda reunião – 28/08/2009 Interlegis.
Iluminação local MC-930 Tópicos em Computação Gráfica Luiz M. G. Gonçalves.
Protocolo HTTP.
SECEX SECRETARIA DE COMÉRCIO EXTERIOR MINISTÉRIO DO DESENVOLVIMENTO, INDUSTRIA E COMÉRCIO EXTERIOR BRAZILIAN EXPORTS STATISTICAL DEPURATION SYSTEM Presentation.
Knowledge-editing using WYSIWYM Richard Power & Donia Scott ITRI University of Brighton.
CARTOGRAPHIES OF SEGREGATION From Snapshots to Processes and Trajectories Flávia F. Feitosa (UFABC) Antônio Miguel V. Monteiro (INPE) XIV Brazilian Symposium.
BLUE BEAUTY Photos by Astronaut Sunita Williams Photos by Astronaut Sunita Williams.
OER LIFE CYCLE Andrew Moore and Tessa Welch.
Ecological Economics Lecture 6 Tiago Domingos Assistant Professor Environment and Energy Section Department of Mechanical Engineering Doctoral Program.
Tópicos Especiais em Aprendizagem Reinaldo Bianchi Centro Universitário da FEI 2012.
Nomads núcleo de estudos sobre habitação e modos de vida | usp universidade de são paulo | brasil.
Uma Introdução à Modelação de Processos com UML... José Borbinha.
Curso Gestão Estratégica de Dívida Pública para os Estados Workshop on Debt Management Strategies for Brazilian Subnationals Jorge Luís Tonetto CONFAZ/GEFIN.
Webots Pedro Pinheiro 12 de Novembro de Webots Pedro Pinheiro 12 de Novembro de 2004 Prepared by: Pedro Pinheiro.
Definição do MoC Subjacente a Aplicação Prof. Dr. César Augusto Missio Marcon Parcialmente extraído de trabalhos de Axel Jantch, Edward Lee e Alberto Sangiovanni-Vincentelli.
Universidade de Brasília Laboratório de Processamento de Sinais em Arranjos 1 Adaptive & Array Signal Processing AASP Prof. Dr.-Ing. João Paulo C. Lustosa.
Knowledge Extraction from the Web (ISEWO)
Avaliação Constituição dos grupos de trabalho:
Lecture 4 Pressure distribution in fluids. Pressure and pressure gradient. Hydrostatic pressure 1.
Lecture 2 Properties of Fluids Units and Dimensions 1.
Usabilidade Competitividade e Inovação. Agenda  Definição  Valor  Testemunhos  Métodos e técnicas  Padrões  No mundo… no Brasil  Em Pernambuco.
Metodologia de Desenvolvimento de Software Hermano Moura Alexandre Vasconcelos, André Santos, Augusto Sampaio, Hermano Moura, Paulo.
1-Considerações Básicas Sandro R. Lautenschlager Mecânica dos Fluidos Aula 2.
Instituto de Engenharia de Sistemas e Computadores Investigação e Desenvolvimento em Lisboa Ontology Building Process: The Wine Domain João Graça, Márcio.
Instituto de Engenharia de Sistemas e Computadores Investigação e Desenvolvimento em Lisboa Understanding Epidemic Quorum Systems INESC-ID Lisbon/Technical.
Ciências Cognitivas e Tecnologia Educacional Scaffolding of Self-Regulated Learning in Social Networks Scaffolding do Aprendizado Auto-Regulado em Redes.
BRAZILIAN NATIONAL BUOY PROGRAMME PNBOIA August 2004.
IEEE PES General Meeting, Tampa FL June 24-28, 2007 Conferência Brasileira de Qualidade de Energia Santos, São Paulo, Agosto 5-8, Chapter 5: Harmonic.
Aula Teórica 12 Equação de Bernoulli. Bernoulli’s Equation Let us consider a Stream - pipe such as indicated in the figure and an ideal fluid (without.
Socio-technical approaches for Safety STAMP/STPA
Equação da Continuidade e Equação de Navier-Stokes
RELATÓRIO CEMEC 06 COMPARAÇÕES INTERNACIONAIS Novembro 2013.
Microprocessadores 8051 – Aula 3 Interrupção
Aula Teórica 18 & 19 Adimensionalização. Nº de Reynolds e Nº de Froude. Teorema dos PI’s , Diagrama de Moody, Equação de Bernoulli Generalizada e Coeficientes.
© 2012 Autodesk Autodesk Revit para projetos executivos de arquitetura Módulo 2: Otimizando a modelagem para documentação Tiago Marçal Ricotta Gerente.
VOCÊ JÁ FALA INGLÊS FLUENTEMENTE?
Equação de Bernoulli e Equação de Conservação da Energia
Faculdade de Ciências Económicas e Empresariais Universidade Católica Portuguesa 17/12/2014Ricardo F Reis 2 nd session: Principal –
IEEE PES General Meeting, Tampa FL June 24-28, 2007 Conferência Brasileira de Qualidade de Energia Santos, São Paulo, Agosto 5-8, Chapter 8: Procedure.
Abstract This study aimed to present a survey with the reference values from 254 Brazilian male judokas hand grip strength according to their age, weight.
Part I Object of Plasma Physics BACK. I. Object of Plasma Physics 1. Characterization of the Plasma State 2. Plasmas in Nature 3. Plasmas in the Laboratory.
Equação de Evolução e método do volume-finito.
Introduction to density estimation Modelação EcoLÓGICA
Pesquisadores envolvidos Recomenda-se Arial 20 ou Times New Roman 21.
The following are the CSD Responses in relation to the IEEE P802
Transcrição da apresentação:

Algoritmos Genéticos aula 2 - exemplos

Caixeiro viajante Exemplos de programa http://www.aic.nrl.navy.mil/~ramsey/tsp_html/tsp.html http://www-cse.uta.edu/~cook/ai1/lectures/applets/gatsp/TSP.html

Caixeiro viajante representação intuitiva: o próprio caminho problema: crossover D E B A H G F I C

Exemplo: recombinação de 2 pontos 1 2 A B C D E F G H I A B C H G F I D E B A H G F I C D E B F G I C

PMX crossover (partially mapped) 1 2 A B C D E F G H I x A H G F D E B A H G F I C x D E F G 3 4 x B C A H G F I D B C A H G F E I x B D E F G I C A H B D E F G I C

OX crossover (ordered) 1 2 A B C D E F G H I x A H G F D E B A H G F I C x D E F G 3 C D E A H G F I B 3- partindo do segundo ponto de quebra, as cidades do outro pai são copiadas na mesma ordem, omitindo as cidades já presentes no filho B A H D E F G I C

exemplos de mutação inversão: de duas cidades adjacentes inserção: seleciona uma cidade e a coloca aleatoriamente em algum ponto deslocamento: seleciona um sub-percurso e o coloca aleatoriamente em algum ponto troca recíproca: troca de posição entre duas cidades

2opt method AB e CD fazem parte do percurso se AB + CD > AC + BD então faço a troca para AC e BD C A B D A C B D

Trabalho de Jorge Meinhardt “O presente trabalho pretende mostrar a possibilidade de uso de uma ferramenta de inteligência artificial utilizando a abordagem de algoritmo genético para auxílio ao projeto altimétrico de rodovias.”

exemplo: robocup p/ melhorar o drible, para melhorar a condução da bola, etc...

An Evolutionary Behavior Tool for Reactive Multi-agent Systems Andre Zanki Cordenonsi andrezc@unifra.br Centro Universitário Franciscano Área de Ciências Exatas Rua dos Andradas 1614 Centro - Santa Maria – RS CEP 97010 - 032 Luis Otávio Alvares alvares@inf.ufrgs.br Universidade Federal do Rio Grande do Sul Instituto de Informática Av. Bento Gonçalves, 9500 Bairro Agronomia - Porto Alegre - RS -Brasil CEP 91501-970 Caixa Postal: 15064

Topics Introduction Artificial Life The Simula++ Genetic Operators Food Foraging Problem Final Considerations and Further Works

1. Introduction Multi-agent Systems: “intelligent” autonomous agents Reactive Multi-agent Systems: the perception/action approach Evolutionary Reactive Multi-agent Systems: agents can modify their behavior by a genetic evolutionary process

1. Introduction (…) Why to use an Evolutionary Reactive Multi-agent Systems ? adaptation to dynamically environments adaptation to unknown environments Objective of this paper: shows the specification and implementation of an Evolutionary Reactive Multi-agent Systems where the behavior of the agents can be modified during the simulation

1. Introduction (…) Previous work: the Simula Tool! [Frozza] A graphical tool to teach the multi-agent technology developed in the Instituto de Informática – UFRGS by Rejane Frozza and Luis Otávio Alvares A tool to simulate reactive multi-agent systems, using a graphical interface to build the agents behavior and to shows the simulation.

2. Artificial Life What is life ? The subject of : - Philosophy - Biology - Chemistry - History - …

2. Artificial Life (…) - … and Computer Science ! The Artificial Life IS : “ the understanding of life through the abstraction of its fundamental dynamic principles, and to create such dynamics in another physical medias, such as the computers ” Chistopher Langton

2. Artificial Life (…) The Emergent Behavior Complex/Organized behavior formed by the simple/local interactions among the agents Ex: ant colonies, assembly of cells

3. The Simula ++ Reactive Multi-agent Systems Didactic tool Graphical User Interface

3. The Simula ++ (…) Class of agents and the Behavior Initial State Rule A Rule B Rule C Agent 00 Rule A Rule B Rule C Agent 01 Rule A Rule B Rule C Class X Rule A Rule B Rule C Agent 02 Initial State

3. The Simula ++ (…) Each Agent has - Set of Independent Elements - Chromosome ( set of rules )

3. The Simula ++ (…) Independent Elements ( equal for all agents of the same class ) - Initial Energy - Energy Amount - Maximum Life Time - Life Time - Sexual Maturity Time - New Generation Time

3. The Simula ++ (…) Chromosome: the rule characteristics - declarative - precondition - action - priority RULE A priority = 7 if (not perceive agent A) then random_move();

3. The Simula ++ (…) The new Generation Algorithm LT > SMT reach NGT yes no no no yes LT == SMT Execute Action yes Insert Agent Fertile Agents New Offspring !

4. Genetic Operators One-Point External Crossover Two-Point External Crossover Agent 00 Agent 01 Agent 00 Agent 01 Rule A Rule E Rule A Rule E Rule B Rule F Rule B Rule F Rule C Rule G Rule C Rule G Offspring Offspring Rule A Rule A Rule F Rule F Rule G Rule C

4. Genetic Operators (…) Internal Crossover Agent 00 Offspring IF perceive Agent A AND not perceive Agent B THEN random move IF is Load THEN search base Offspring IF perceive Agent A OR not perceive Agent B THEN random move Agent 01 IF is not Load THEN search base IF not perceive Agent A OR not perceive Agent B THEN search mine IF is not Load THEN search mine

4. Genetic Operators (…) Mutation - between 1% and 2% - change pieces of a rule (respecting the semantic value) AND/OR Agent A, Agent B, Agent C, … perceive_agent, search_agent, escape_from_agent,…

5. Food Foraging Problem Collect all minerals from an unknown environment The environment is a grid ( 100 x 100 ) Base is fixed All agents known where is the base There are three mines, with 100 units of mineral

5. Food Foraging Problem (…) It was defined six simulation groups: Petit Poucet I [Drougol] Petit Poucet II [Drougol] Petit Poucet III [Drougol] Dockers [Drougol] Evolutionary Group Standard Group

5. Food Foraging Problem (…) Standard Group (evolved by the evolutionary algorithm) IF NOT perceive (Mine) AND NOT perceive (Robot) THEN random move IF NOT perceive (Mine) AND perceive (Robot) THEN follows (Robot) IF NOT perceive (Mine) AND reach (Robot) THEN flee (Robot) IF perceive (Mine) THEN load AND return to base AND leave (Mark Track) IF perceive (Mark Track) THEN follows(Mark Track) AND remove(Mark Track)

5. Food Foraging Problem (…) E Group S Group Simulation steps Number of Robots   PP1 PP2 PP3 Doc. E S Time to collect all minerals 3351 5315 3519 1746 2303 2217 Minimum time to collect all minerals 1113 1607 1075 695 770 540 Number of Robots for the minimum time 64 98 87 84 95

6. Conclusions and Further Works Visual Analysis of the agent behavior Discovery of new rules to know/unknown problems Rapid prototype of RMAS Paradigm change (use or not use the evolutionary algorithm)

6. Conclusions and Further Works (…) Two fitness measure (global/local) Automatic statistics and graphics Implementation of different genetic operators

Bibliography DROGOUL, A. De la Simulation Multi-Agents à la Résolution Collective de Problèmes. Paris, France: Université Paris VI, 1993. Thèse de Doctorat. FROZZA, R. SIMULA – Ambiente para Desenvolvimento de Sistemas Multiagentes Reativos. Porto Alegre: CPGCC da UFRGS, 1997. Dissertação de mestrado.

De Jong e Otimização de Funções De Jong, em sua dissertação “An Analisys of The Behavior of a class of Genetic Adaptive Systems”,fez uma investigação cuidadosa de diversas variações do “algoritmo genético simples” aplicados à otimização de funções.