SlideShare a Scribd company logo
1 of 13
Nature of Code
Chapter 6. Autonomous
Agent
Juhwan Yun (btakeya@naver.com)
Agenda
 Introduction
 Definition
 Model
 Complex System
 Operations
Introduction
https://youtu.be/7uou0lM52KI
Definition
 Autonomous Agent (자율 에이전트)
 주변 환경 인식
 주변 환경에 의한 행동 결정
 명령을 내리는 주체가 없음
 C. Reynolds의 정의 (Vehicle)
 행동 선택(Action selection)
 조향(Steering)
 이동 운동(Locomotion)
Model
 Vehicle
 위치
 속도 (진행 방향 + 속력)
 가속도 (목표로 방향 및 속력 보정)
 Steering (조향력)
 원하는 속도 - 현재 속도
= (Tn.position - V.position) – Vo
Vehicle
(V)
Original
Target
(To)
New
Target
(Tn)
Original
Velocity
(Vo)
Steering
New
Velocity
(Vn)
최대 크기가 큰 경우 최대 크기가 작은 경우
조향력의 최대 크기에 따른 이동 경로의 변화
Model
 FlowField
 2D Matrix contains Vector
 Unit size
Model
 Path
Complex System
 주요 원리
 여러 개의 단순한 객체가 한정된 공간 안에 존재
 각 객체가 병렬로 동작
 시스템 전체에서 창조적인 현상이 발생
 특징 (복잡계 시뮬레이션의 목표)
 비선형성
 경쟁과 협력
 피드백
Operation
 Vector
 Dot Product (𝐴 ∙ 𝐵)
 A, B가 2D Vector일 때,
𝐴 ∙ 𝐵 = 𝐴. 𝑥 × 𝐵. 𝑥 + 𝐴. 𝑦 × 𝐵. 𝑦
= 𝐴 |𝐵| cos 𝜃
 위에서 B가 Unit Vector일 때,
𝐴 ∙ 𝐵 = 𝐴 𝐵 cos 𝜃
= 𝐴 × 1 × cos 𝜃 = 𝐴 cos 𝜃
 cos 𝜃 =
𝐴∙𝐵
|𝐴|
, 𝜃 = cos−1 𝐴∙𝐵
|𝐴|
Operations
 Vehicle
 Seek: 목표 탐색 및 이동
 Arrived: 목표 도착 후 동작
 Steering: 목표로 이동하기 위한 속도 계산
 Separate: 각 vehicle 간의 움직임에 영향
 FlowField
 위치에 따른 벡터에 따라 이동
 Path
 정의된 움직임에 따름
 목적지와 진행방향 간의 각도 계산
Operations
 Vehicle/Separate:
 범위 내의 다른 Vehicle으로부터
가능한 빠르게 멀어지는 방향으로 이동
 범위 내의 Vehicle이 여러 개일 때는
각 Vehicle로부터 멀어지는 힘의 평균으로 이동
다루지 않은 것
 6.13. 군집
 6.14., 6.15. 알고리즘 최적화

More Related Content

Featured

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 

Featured (20)

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 

Nature of code - Chapter 6. Autonomous Agent

  • 1. Nature of Code Chapter 6. Autonomous Agent Juhwan Yun (btakeya@naver.com)
  • 2. Agenda  Introduction  Definition  Model  Complex System  Operations
  • 4. Definition  Autonomous Agent (자율 에이전트)  주변 환경 인식  주변 환경에 의한 행동 결정  명령을 내리는 주체가 없음  C. Reynolds의 정의 (Vehicle)  행동 선택(Action selection)  조향(Steering)  이동 운동(Locomotion)
  • 5. Model  Vehicle  위치  속도 (진행 방향 + 속력)  가속도 (목표로 방향 및 속력 보정)  Steering (조향력)  원하는 속도 - 현재 속도 = (Tn.position - V.position) – Vo Vehicle (V) Original Target (To) New Target (Tn) Original Velocity (Vo) Steering New Velocity (Vn) 최대 크기가 큰 경우 최대 크기가 작은 경우 조향력의 최대 크기에 따른 이동 경로의 변화
  • 6. Model  FlowField  2D Matrix contains Vector  Unit size
  • 8. Complex System  주요 원리  여러 개의 단순한 객체가 한정된 공간 안에 존재  각 객체가 병렬로 동작  시스템 전체에서 창조적인 현상이 발생  특징 (복잡계 시뮬레이션의 목표)  비선형성  경쟁과 협력  피드백
  • 9. Operation  Vector  Dot Product (𝐴 ∙ 𝐵)  A, B가 2D Vector일 때, 𝐴 ∙ 𝐵 = 𝐴. 𝑥 × 𝐵. 𝑥 + 𝐴. 𝑦 × 𝐵. 𝑦 = 𝐴 |𝐵| cos 𝜃  위에서 B가 Unit Vector일 때, 𝐴 ∙ 𝐵 = 𝐴 𝐵 cos 𝜃 = 𝐴 × 1 × cos 𝜃 = 𝐴 cos 𝜃  cos 𝜃 = 𝐴∙𝐵 |𝐴| , 𝜃 = cos−1 𝐴∙𝐵 |𝐴|
  • 10. Operations  Vehicle  Seek: 목표 탐색 및 이동  Arrived: 목표 도착 후 동작  Steering: 목표로 이동하기 위한 속도 계산  Separate: 각 vehicle 간의 움직임에 영향  FlowField  위치에 따른 벡터에 따라 이동  Path  정의된 움직임에 따름  목적지와 진행방향 간의 각도 계산
  • 11. Operations  Vehicle/Separate:  범위 내의 다른 Vehicle으로부터 가능한 빠르게 멀어지는 방향으로 이동  범위 내의 Vehicle이 여러 개일 때는 각 Vehicle로부터 멀어지는 힘의 평균으로 이동
  • 12.
  • 13. 다루지 않은 것  6.13. 군집  6.14., 6.15. 알고리즘 최적화

Editor's Notes

  1. 행동 선택: 목적에 따른 행동 선택. Vehicle은 목적지로 이동 / 장애물 회피 / 경로대로 이동 등의 목적을 갖는다. 조향력: 원하는 속도 – 현재 속도. 다시 말해, 목표로 이동하기 위해 필요한 힘 이동 운동: 어떻게 이동하는가(예: 굴러서, 두발을 번갈아 걸어서 등). Processing에서는 좌표에 따라 그릴 위치가 변하는 정도이므로 굳이 고려할 필요 없음
  2. Vehicle 구성 요소 Steering 구성 요소
  3. 원리: 각 객체의 동작 원리는 단순하지만 한정된 공간 안에서 각각의 동작을 수행하면서 예상치 않은 현상이 발생함 특징: 비선형성: a.k.a. 나비효과. 변인과 결과의 관계를 알 수 없음 경쟁과 협력: 객체 간의 작용과 군집/분산 등 각각의 동작을 통해 복잡계를 구성함 피드백: 객체의 행동이 다른 객체의 행동으로 이어짐