Kolónia robotov Úloha: urobiť kolóniu simulovaných robotov, ktorí dokážu v štvorčekovom bludisku vyzbierať špinky.

Slides:



Advertisements
Similar presentations
Ma.
Advertisements

El Alfabeto Con Vocabulario
Conflict Serializability Example Murat Kantarcioglu.
T h e K i n e t i c T h e o r y. E x p l a i n s t h e e f f e c t s o f t e m p e r a t u r e a n d p r e s s u r e o n m a t t e r.
KJ 014 : “ MULIAKAN TUHAN ALLAH ” Syair: Ayub B. E. Poli / Yamuger (1984) Lagu: Kirita Dei, Pulau Sawu.
HOW TO EXPRESS YOURSELF. Why is it important to express your point of view? You show that you know exactly what you are talking about You show that you.
Click on each of us to hear our sounds.
C h e m i c a l R e a c t i o n s. C h e m i c a l R e a c t i o n A p r o c e s s i n w h i c h o n e s u b s t a n c e i s c h a n g e d i n t o a n.
GABRIEL GARCÍA MÁRQUEZ
Las Vocales En Espanol.
A) 80 b) 53 c) 13 d) x 2 = : 10 = 3, x 3 = 309.
Conditionals How do we solve tasks in which every particular of a task is not specifically known? – A robot needs the ability to survey its immediate environment.
Preliminary Design Review Micromouse Team: Ocha. Team Members Kanoa Jou Ryan Sato KiWoon Ahn Brett Ikei.
Thomas Kagawa, Kenyan Kawauchi, Christopher Lanuevo, Ronald Mangaoang, Joan Suniga.
Living in Bratislava: The Slovak Language
Assignment: Unit Testing. Wall-follower applied to a simple maze.
COMP 171 Data Structures and Algorithms Tutorial 3 Merge Sort & Quick Sort.
1 One day as Jesus was preaching on the shore of the Sea of Galilee, great crowds pressed in on him to listen to the word of God. 2 He noticed two empty.
Riadiaci systém robota Úloha: urobiť robota, ktorý dokáže nájsť na zem umiestnenú kovovú guličku niekde na 4 poschodí bloku D.
My Second Robot. Anatomy of a Robot A robot consists of 3 independently moving parts: Vehicle - determines the direction in which the robot will move.
1 karel_part3_ifElse Conditional Statements or ELSE if ( ) { } else { }
Georgia Institute of Technology More on Creating Classes part 3 Barb Ericson Georgia Institute of Technology Nov 2005.
Student Q and As from 5.1 – 5.7, 5.11 Students of CS104, Fall 2013 (and me)
40 Minutes Left.
Section 11.1 Distance and Displacement
Python Documentation Fran Fitzpatrick. Overview  Comments  Documentation Strings  Pydoc  Comments  Documentation Strings  Pydoc.
Karel J Robot Chapter 5.
PHONICS Repeat each sound. Blend the sounds. Read each word.
ma mu mi mo me pe pi pa pu po si sa so.
Peking pre istotu cenzuruje aj televíznu zábavu Konzekutívne tlmočenie.
Sílabas con m,p,s tema 2. pe so ma si mu se.
Anglický jazyk. 3.roč. VY_32_INOVACE_06 Write your name:
The Phases of the Moon By : Jordan R..
Servo Positioning Pulse Width Direction of Rotation PULSOUT Period
VY_32_INOVACE_18 Aj-food, drinks, fruit
karel_part4_functions_2
ASKING FOR AND GIVING DIRECTIONS
Prečo šimpanzy nevedia rozprávať?
O malej Aničke Anička sa hrá s loptami.
Sme produkty, musíme sa predať
Yulia Šurinová "There is always a better way; it should be found."
Traduction d’un texte de Pablo Neruda Prix Nobel de Littérature 1971
Secret Message Let’s practice.
Človek vo sfére peňazí ročník.
Pojem agent.
My town (Moje mesto) By Lucia.Lacová.
Martina Dundová VY_22_INOVACE_1B_10_Christmas Christmas čtvrtý
ITK 168 Lecture 5 - Inheritance
Heuristické optimalizačné procesy
Smelý Palko v Ohiu alebo pán Turing ide voliť
By Diana Alhajjeah الإدارة المالية By Diana Alhajjeah
LESSON 03 Turning In Place. LESSON 03 Turning In Place.
ASKING FOR AND GIVING DIRECTIONS
Andrej Lúčny Témy bakalárskych prác Andrej Lúčny
TVORBA VIET A OTÁZOK a KRÁTKYCH ODPOVEDÍ
Rotations on the Coordinate Plane
IF Statements.
,. . ' ;; '.. I I tI I t : /..: /.. ' : ····t I 'h I.;.; '..'.. I ' :".:".
Which way does the robot have to turn to get to the charger?
Translation 09/03 Kate nechala svůj adresář doma. Kate has left her address book at home. Jestli se Kate dozví o Gemině práci, If Kate finds out about.
How to repeat information outside of a function!
÷ 5 = 29 How many 5s are there in 1? Great!
÷ 2 = 24 How many 2s are there in 4?
More on Creating Classes part 3
Dividing Whole Numbers
End (Insert your place:_________)
Lesson 6 Go Straight and Turn Right Pattern Drill.
Eliminate.
ASKING FOR AND GIVING DIRECTIONS
IF 1-Jul-19.
Presentation transcript:

Kolónia robotov Úloha: urobiť kolóniu simulovaných robotov, ktorí dokážu v štvorčekovom bludisku vyzbierať špinky.

Senzory a aktuátory Left Right Straight Turn Rnd Move CleanUp Straight Right Left Rnd infestarea nothing cleaner obstacle RECEPTORY EFEKTORY Move Turn CleanUp go,stop left, right, no Cleanup, no

Riešenie s rýdzo reaktívnymi agentami LeftStraightRightRnd If Straight = infest-area then CleanUp(cleanup); Turn(no); Move(stop) else if Left = infest-area then CleanUp(no); Turn(left); Move(stop) else if Right = infest-area then CleanUp(no); Turn(right); Move(stop) else if Straight = obstacle then CleanUp(no); Turn(left); Move(go) else if Rnd < 1/ 40 then CleanUp(no); Turn(left); Move(go) else CleanUp(no); Turn(no); Move(go) CleanUpTurn Move

Riešenie s reaktívnymi agentami LeftStraightRight If Straight = infest-area then CleanUp(cleanup); Turn(no); Move(stop) else if Left = infest-area then CleanUp(no); Turn(left); Move(stop) else if Right = infest-area then CleanUp(no); Turn(right); Move(stop) else if Straight = obstacle then CleanUp(no); Turn(left); Move(go) else if netrpezlivost > 40 then CleanUp(no); Turn(left); Move(go); netrpezlivost := 0; else CleanUp(no); Turn(no); Move(go); inc(netrpezlivost) CleanUpTurn Move

Riešenie s deliberatívnymi agentami LeftStraightRight Vycisti lokalnu spinku, ak je; Buduj mapu; Najdi smer v ktorom sa crta najviac spiniek; Vydaj sa tym smerom CleanUpTurn Move

Riešenie s komunikujúcimi deliberatívnymi agentami LeftStraightRight Pouzivame jednotny reprezetacny jazyk; Vycisti lokalnu spinku, ak je; Buduj mapu; Najdi smer v ktorom sa crta najviac spiniek a najmenej inych agentov Vydaj sa tym smerom, oznam to ostatnym agentom Ked sa dozvies ze niekto ide niekam kde je vies ze je spinka, oznam mu to CleanUpTurn Move (oznam (idena 007 [10;10] )) (oznam (spinka [10;11] ))

Riešenie so sociálnymi deliberatívnymi agentami LeftStraightRight Pouzivame jednotny reprezetacny jazyk; Reprezentujeme aj agentov Vycisti lokalnu spinku, ak je; Buduj mapu; Najdi smer v ktorom sa crta najviac spiniek a najmenej inych agentov Vydaj sa tym smerom, oznam to ostatnym agentom Ked sa dozvies ze niekto ide niekam kde je vies ze je spinka, oznam mu to Ked ti niekto navrhne ist niekam, zvaz a rozhodni sa Ked obides spinku, vyber si niekoho blizkeho a navrhni mu ist ju vycistit CleanUpTurn Move (navrh 001 (chod na [10;10] ) (odpovedz 007) ) (potvrdenie 007 (idem) (odpovedal 001))

Riešenie s hybridnými agentami LeftStraightRight Pouzivame jednotny reprezetacny jazyk; Reprezentujeme aj agentov Vycisti lokalnu spinku, ak je; Buduj mapu; Najdi smer v ktorom sa crta najviac spiniek a najmenej inych agentov Vydaj sa tym smerom, oznam to ostatnym agentom Ked sa dozvies ze niekto ide niekam kde je vies ze je spinka, oznam mu to Ked ti niekto navrhne ist niekam, zvaz a rozhodni sa Ked obides spinku, vyber si niekoho blizkeho a navrhni mu ist ju vycistit CleanUpTurn Move (navrh 001 (chod na [10;10] ) (odpovedz 007) ) (potvrdenie 007 (idem) (odpovedal 001)) if Left = infest-area then CleanUp( no ) ; Turn(left); Move(stop)