caminho A B C A H G F H I A B C D E F G H I D E B A H G F I D E B A H G F I C D E B D E F G I C problema: crossover Cidades repetidas - inválido!!!

Documentos relacionados
DESENVOLVIMENTO DE UM SISTEMA DE SIMULAÇÃO PARA SISTEMAS MULTIAGENTES TRIDIMENSIONAIS

IN-1131 Computação Evolucionária. Aluizio Fausto Ribeiro Araújo Universidade Federal de Pernambuco Centro de Informática

A Tool to Evaluate Stuck-Open Faults in CMOS Logic Gates

Boids Model Applied to Cell Segregation

Robótica Evolutiva uma População de Robôs Reais que Fazem Amor e Geram Descendentes Enquanto Aprendem a Realizar Tarefas

Performance and Power Consumption Analysis of Full Adders Designed in 32nm Technology

Técnicas de Concepção de Algoritmos: Branch and Bound

1. Computação Evolutiva

DIAGNÓSTICO DE MATEMÁTICA

UNIVERSIDADE FEDERAL DE SERGIPE - UFS

Algoritmos Genéticos. Pontos fracos dos métodos tradicionais. Características de alguns problemas. Tamanho do espaço de busca- Ex. caixeiro viajante:

Otimização com Algoritmos Evolutivos

Scientific data repositories: the USP experience

Computação e Programação 2009 / 2010

Optimization Model for Hydrothermal Systems Considering Elasticity of Demand. Leandro Andrade Nacif Marcelo Rodrigues Bessa

UERJ Programa de Pós-graduação em Engenharia Mecânica (PPGEM) Seminary Class

Algoritmos Genéticos e Evolucionários

Course Review for Midterm Exam 1. Cpt S 223 Fall 2010

Projeto e Análise de Algoritmos Prof. Ruy Luiz Milidiú

Sumário. Simulação (1) Simulação (2) Simulação (3) Inteligência Artificial Distribuída (1) Ambientes de Simulação Baseados em Agentes

Uma introdução à indecilibidade a forma máxima de complexidade!

ANÁLISE DAS INTERAÇÕES ENTRE AGENTES REATIVOS EM UM AMBIENTE DE SIMULAÇÃO TRIDIMENSIONAL

English version at the end of this document

Extracção de Conhecimento

Computação Bioinspirada PROF. PAULO SALGADO

Número: Nome:

English version at the end of this document

CONSTRUÇÃO AUTOMÁTICA DE OPERADORES MORFOLÓGICOS UTILIZANDO PROGRAMAÇÃO GENÉTICA.

UMA INTRODUÇÃO AOS ALGORITMOS GENETICOS

João Paulo de Freitas Araujo. Algoritmos para acelerar a computação de Árvores de corte de Gomory e Hu. Dissertação de Mestrado

Computação Evolutiva aplicada a Robôs Reais

PROBABILIDADES E ESTATÍSTICA E PROCESSOS ESTOCÁSTICOS

Incerteza, exatidão, precisão e desvio-padrão

Resolução de Problemas via Busca

Instituto Tecnológico de Aeronáutica

Uma introdução à indecilibidade a forma máxima de complexidade!

RECONHECIMENTO AUTOMÁTICO DE PADRÕES MUSICAIS UTILIZANDO OPERADORES MORFOLÓGICOS E PROGRAMAÇÃO GENÉTICA.

Pensamento: Computação Evolutiva aplicada a Robôs Reais. Sumário. 1- Computação Evolutiva Computação Evolutiva: Conceito

PROJETO DE INTERFACES PARA ÁLGEBRA DE MAPAS EM GEOPROCESSAMENTO NO AMBIENTE SPRING

Breve Avaliação de Parâmetros básicos de Algoritmos Genéticos

Abordagens para Problemas Intratáveis

Número: Nome:

Trabalho de AMSR. Especificação e Verificação de uma Câmara Fotográfica Digital. Problema a Resolver FEUP/MRSC/AMSR MPR. » Problema a concurso

Introdução aos Problemas de Roteirização e Programação de Veículos

GT-JeDi - Curso de Desenv. de Jogos IA para Jogos. Gustavo Pessin 2007

IA: Inteligência Artificial

Grupo de Estudos Maratona de Programação Discussão do problema XYZZY (Uva )

UNIVERSIDADE TECNOLÓGICA FEDERAL DO PARANÁ ALGORITMOS GENÉTICOS. Metaheurísticas de Buscas

Algoritmo Genético: um experimento comparativo entre a execução paralela com troca de indivíduos de populações e a não paralela.

ARENT G A E ASSIGNMENT USING PROGRAM CER USING PR

react development curso intensivo


FACULDADE DE TECNOLOGIA SENAC PELOTAS. Trabalho de Shellscript Atividade 5 Introdução a Informática

Geospatial Information for Integration and Development in Rio de Janeiro. Luiz Roberto Arueira City Information Director Marcus Silva GIS Consultant

English version at the end of this document

English version at the end of this document

4. Marque a alternativa que considerar correta na tabela abaixo. 5. Utilize o verso das folhas para a resolução das questões

PCS 5869 INTELIGÊNCIA ARTIFICIAL

Rule Set Each player needs to build a deck of 40 cards, and there can t be unit of different faction on the same deck.

Comunicação Científica I

Modelos Evolucionários e Tratamento de Incertezas

Ciclo de vida: fases x atividades

PMR 5237 Modelagem e Design de Sistemas Discretos em Redes de Petri

Manual de Docência para a disciplina de Inteligência Artificial 2005/2006 Engenharia Informática, 4º ano José Manuel Torres

Biologically Inspired Compu4ng: Neural Computa4on. Lecture 5. Patricia A. Vargas

English version at the end of this document

Estratégias Evolucionárias (Evolution Strategies - ES) Disciplina: Inteligência Artificial

Instituto Tecnológico de Aeronáutica

the axiom a string of characters (each one having a meaning) that is used to start the generation of the fractal and an angle θ,

NÚCLEO DE TECNOLOGIA EDUCACIONAL PARA A SAÚDE UNIVERSIDADE FEDERAL DO RIO DE JANEIRO

Teoria da Complexidade Computacional

Virtual Network Embedding with Coordinated Node and Link Mapping

Controles de entrada : caixas de seleção, botões de opção, listas suspensas, caixas de lista, botões, alternar, campos de texto, campo de data

Mil-Spec Numbering System Defined

Teste 1 - Análise Numérica Funcional e Optimização Instituto Superior Técnico, 8 de Novembro de 2012, 12h00-13h30

Problema do vendedor: uma abordagem via algoritmos genéticos

English version at the end of this document

Considerações a respeito do Ponto de Fisher Considerations regarding the point of Fisher

English version at the end of this document

NORMAS DE FUNCIONAMENTO DOS CURSOS DE LÍNGUAS (TURMAS REGULARES E INTENSIVAS) 2015/2016

Sistema Multiagentes Utilizando a Linguagem AgentSpeak(L) para Criar Estratégias de Armadilha e Cooperação em um Jogo Tipo PacMan

CSE 521: Design and Analysis of Algorithms I

School Performance Evaluation in Portugal: A Data Warehouse Implementation to Automate Information Analysis

Statecharts Yakindu Tool

Inteligência Artificial

INF 1771 Inteligência Artificial

Algoritmos Genéticos

ESTUDO DO EFEITO DOS PARÂMETROS GENÉTICOS DE UM ALGORITMO GENÉTICO NA SOLUÇÃO OTIMIZADA E NO TEMPO DE CONVERGÊNCIA EM UMA FUNÇÃO DE DUAS VARIÁVEIS

INSTITUTO SUPERIOR TÉCNICO Sistemas de Apoio à Decisão

e-lab: a didactic interactive experiment An approach to the Boyle-Mariotte law

Software Testing with Visual Studio 2013 (20497)

Otimização. Algoritmos Genéticos. Teoria da Evolução. Otimização

Sistemas de Produção em Fluxo

Transcript name: 1. Introduction to DB2 Express-C

VGM. VGM information. ALIANÇA VGM WEB PORTAL USER GUIDE June 2016

Divisão de Engenharia Mecânica. Programa de Pós-Graduação em Engenharia Aeronáutica e Mecânica. Prova de Seleção para Bolsas 1 o semestre de 2014

Desenvolvimento em Matlab de um Osciloscópio Virtual Utilizando a Placa de Som de um PC

Transcrição:

Caixeiro viajante Algoritmos Genéticos aula 2 - exemplos Caixeiro viajante representação intuitiva de indivíduo: o próprio caminho 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 A H G F H I D E B A H G F I C D E B D E F G I C problema: crossover Cidades repetidas - inválido!!!

PMX - partially mapped crossover 1 2 OX - ordered crossover 1 2 A B C D E F G H I x x x A H G F x x ABCDEFGHI x x x A H G F x x D E B A H G F I C x x x D E F G x x 3 4 x B C A HGFx I D B C A H G F E I x x B D E F G I C A H B D E F G I C D E B A H G F I C x x x D E F G x x 3 CDEAHGFI B A H D E F G I B C 3- partindo do segundo ponto de quebra, as cidades d do outro pai são copiadas na mesma ordem, omitindo as cidades já presentes no filho 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 A A D C C B D B

Caixeiro viajante Exemplos de programa http://www.mac.cie.uva.es/~arratia/cursos/uva/genetictsp/javasimultn/tsp.html 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. http://www.dna-evolutions.com/dnaappletsample.html Outros exemplos Robocup: p/ melhorar o drible, para melhorar a condução da bola, etc... ChicuxBot Genetic Algorithm Configured Behavior Network Multi-Agent for Quake II tese de André Schneider: controle de robôs De Jong e Otimização de Funções De Jong, em sua tese An analysis of the behavior of a class of genetic adaptive systems, fez uma investigação cuidadosa da aplicação de algoritmos genéticos à otimização de funções.

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 1. Introduction ( ) 1. Introduction ( ) Why to use an Evolutionary Reactive Multi-agent tsystems? - adaptation to dynamically environments - adaptation to unknown environments 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 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 A tool to simulate reactive multi-agent systems, using a graphical interface to build the agents behavior and to shows the simulation.

3. Simula ++ 3. Simula ++ ( ) - Reactive Multi-agent Systems - Didactic tool - Graphical User Interface Class of agents and the Behavior Class X Agent 00 Agent 01 Rule Agent A 02 Rule A Initial State 3. Simula ++ ( ) 3. Simula ++ ( ) Each hagent has - Set of Independent Elements - Chromosome ( set of rules ) Independent d 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. Simula ++ ( ) 3. Simula ++ ( ) The new Generation Algorithm Chromosome: the rule characteristics ti - declarative - precondition RULE A priority = 7 no LT > SMT no yes reach NGT yes no - action -priority if (not perceive agent A) then random_move(); LT == SMT yes Execute Action Insert Agent Fertile Agents New Offspring! 4. Genetic Operators 4. Genetic Operators ( ) One-Point External Crossover Two-Point External Crossover Internal Crossover Agent 00 Agent 00 Agent 01 Rule E Rule F Rule G Offspring Rule F Agent 00 Agent 01 Rule E Rule F Rule G Offspring Rule F IF perceive Agent A AND not perceive Agent B THEN random move IF is Load THEN search base Agent 01 IF not perceive Agent A OR not perceive Agent B THEN search mine IF is not Load Offspring IF perceive Agent A OR not perceive Agent B THEN random move IF is not Load THEN search base Rule G THEN search mine

4. Genetic Operators ( ) 5. Food Foraging g Problem Mutation ti - 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, - 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 g Problem ( ) 5. Food Foraging g Problem ( ) It was defined d six simulation groups: - Petit Poucet I [Drougol] - Petit Poucet II [Drougol] - Petit Poucet III [Drougol] - Dockers [Drougol] - Evolutionary Group - Standard Group Standard d 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 g Problem ( ) 12000 Simulation steps Programação Genética 10000 8000 6000 4000 2000 0 1 6 11 16 21 26 31 36 41 46 51 56 61 66 71 76 E Group S Group 81 86 91 96 Number of Robots PP1 PP2 PP3 Doc. E S Time to collect all minerals 3351 5315 3519 1746 2303 2217 Programação genética é uma técnica automática de programação que propicia a evolução de programas de computadores que resolvem (ou aproximadamente resolvem) problemas Na programação genética, os indivíduos da população não são seqüências de bits, mas sim programas de computador armazenados na forma de árvores sintáticas. Tais programas é que são os candidatos à solução do problema proposto. Minimum time to collect all minerals 1113 1607 1075 695 770 540 Number of Robots for the minimum time 64 98 87 84 95 95 Programação genética Referências Koza, J.R. 1990, Genetic Programming: A Paradigm for Genetically Breeding Populations of Computer Programs to Solve Problems, Stanford University Computer Science Koza, John R. 1992. Genetic Programming: On the Programming of Computers by Means of Natural Selection. Cambridge, MA: The MIT Press. Congressos e workshops específicos sobre o assunto