1 / 8

Kolónia robotov

Kolónia robotov. Úloha: urobiť kolóniu simulovaných robotov, ktorí dokážu v štvorčekovom bludisku vyzbierať špinky. Senzory a aktuátory. Straight Right Left Rnd. infestarea nothing cleaner obstacle. RECEPTORY. Turn. Right. Rnd. <0,1>. Straight. Move. Left. CleanUp. Move Turn

yule
Download Presentation

Kolónia robotov

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

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

  3. Left Straight Right Rnd Riešenie s rýdzo reaktívnymi agentami 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) CleanUp Turn Move

  4. Left Straight Right 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) Riešenie s reaktívnymi agentami CleanUp Turn Move

  5. Left Straight Right Vycisti lokalnu spinku, ak je; Buduj mapu; Najdi smer v ktorom sa crta najviac spiniek; Vydaj sa tym smerom Riešenie s deliberatívnymi agentami CleanUp Turn Move

  6. Left Straight Right 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 (oznam (idena 007 [10;10] )) Riešenie s komunikujúcimi deliberatívnymi agentami (oznam (spinka [10;11] )) CleanUp Turn Move

  7. Left Straight Right 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 (navrh 001 (chod na [10;10] )(odpovedz 007) ) Riešenie sosociálnymi deliberatívnymi agentami (potvrdenie 007 (idem) (odpovedal 001)) CleanUp Turn Move

  8. Left Straight Right 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 (navrh 001 (chod na [10;10] )(odpovedz 007) ) if Left = infest-area then CleanUp(no); Turn(left); Move(stop) Riešenie s hybridnými agentami (potvrdenie 007 (idem) (odpovedal 001)) CleanUp Turn Move

More Related