1. Problem-Solving Agents
1) Problem Formulation
- Problem์ initial state, actions, transition model, goal test, path cost๋ก ์ ์๋๋ค.
- Problem formulation์ goal์ด ์ฃผ์ด์ง ์ํฉ์์, ๋ฌด์จ action ๊ณผ states๋ฅผ ๊ณ ๋ คํ ๊ฒ์ธ์ง ๊ฒฐ์ ํ๋ ๊ณผ์ ์ ๋งํ๋ค.
- Problem์ solution์ initial state๊ฐ goal state๋ก ๊ฐ๊ฒ ๋ง๋๋ action๋ค์ sequence์ด๋ค.
- goal์ ๋ค๋ค๋ฅด๊ธฐ ์ํ sequence of actions์ ์ฐพ์๋๊ฐ๋ ๊ณผ์ ์ด search์ด๋ค.
- solution์ด ์ฐพ์์ง๋ฉด action์ด ์ํ๋๋๋ก ์ถ์ฒ๋๋ค. ์ด๊ฒ์ด ๋ฐ๋ก execution์ด๋ค.
* State Space : initial state์์๋ถํฐ ์ด๋ค action squence๋ฅผ ํตํด ๋๋ฌํ ์ ์๋ ๋ชจ๋ states๋ค์ ์งํฉ
* path : sequence of actions์ ์ํด ์ฐ๊ฒฐ๋ states๋ค์ sequence
2). Abstraction (์ถ์ํ)
: representation์์ detail์ ์ ๊ฑฐํด๋๊ฐ๋ ๊ณผ์ ์ด abstraction์ด๋ค. Abstraction์ ์ฐ๋ฆฌ๊ฐ ์ด๋ค abstract solution์ ๋ detailed ํ ํ๊ฒฝ์์ solution์ผ๋ก ํ์ฅ์ํฌ ์ ์๋ค๋ฉด validํ๋ค. Abstraction์ ์๋์ ๋ฌธ์ ๋ณด๋ค solution์ ์๋ ๊ฐ๊ฐ์ actions๋ค์ ์ํํ๋ ๊ฒ์ด ๋ ์ฌ์ธ ๊ฒฝ์ฐ์ ์ ์ฉํ๋ค. ๋ฐ๋ผ์ ๋ ์ข์ abstraction์ ํ๊ธฐ ์ํด์๋, validity๋ฅผ ์ ์งํ๊ณ abstract action์ด ์ํํ๊ธฐ ์ฝ๋๋ก ์ ์งํ๋ฉด์๋ ๊ฐ๋ฅํ ๋ง์ detail์ ์ ๊ฑฐํด์ผ ํ๋ค.
2. Example Problems
3. Searching for Solutions
1) Search Tree
- Solution์ action sequence์ ํํ๋ก ๋ํ๋จ. ๊ทธ๋์ search ์๊ณ ๋ฆฌ์ฆ์ ์ฌ๋ฌ๊ฐ์ง ๊ฐ๋ฅํ action sequences๋ค์ ๊ณ ๋ คํ์ฌ ์๋ํ๋ค.
- ๋ชจ๋ ๊ฐ๋ฅํ action sequence๋ initial state์ ์์ํ๋๋ฐ, search tree์์๋ ๊ทธ๊ฒ ๋ฐ๋ก root!!
- branches๋ ๊ฐ๊ฐ action์ด๊ณ nodes๋ state space์ ์ํ๋ state์ ํด๋นํ๋ค.
2) Search Strategy and Performance Evaluation
i. Search Strategy
- First-in first-out (FIFO)
- Last-in first-out (LIFO)
- Highest priority first
ii. Performance evaluation
- Completeness
- Optimality
- Time complexity
- Space complexity
'๐ก๐ธ๐ธ๐ถ5: ๐ฆ๐๐๐๐ถ ๐ฐ๐๐พ๐ > Artificial Intelligence(COSE361)' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[์ธ๊ณต์ง๋ฅ] 4. Beyond Classical Search - 2 (0) | 2021.04.24 |
---|---|
[์ธ๊ณต์ง๋ฅ] 4. Beyond Classical Search - 1 (0) | 2021.04.24 |
[์ธ๊ณต์ง๋ฅ] 3. Solving problems by searching - 3 (0) | 2021.04.24 |
[์ธ๊ณต์ง๋ฅ] 3. Solving problems by searching - 2 (0) | 2021.04.23 |
[์ธ๊ณต์ง๋ฅ] 1.1 What is AI? &2.3 The Nature of Environments (0) | 2021.04.23 |