Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

Artificial Intelligence Unit 2

Rating
-
Sold
-
Pages
27
Uploaded on
27-01-2025
Written in
2024/2025

Study notes are an excellent tool for efficient learning and revision. Well-organized notes condense complex topics into manageable pieces, making it easier to grasp key concepts and recall information. They save time during review sessions by focusing on essential points and reducing the need to revisit lengthy textbooks. Effective study notes often use bullet points, diagrams, and highlighted keywords to enhance understanding and retention. They are versatile, allowing for personalization to suit different learning styles. Whether for preparing for exams or reinforcing daily lessons, study notes are a valuable resource for staying organized and improving academic performance.

Show more Read less
Institution
Course

Content preview

Artificial Intelligence - Unit 2
AI_Unit_2
Block world (1)

The Block World problem in Artificial Intelligence (AI) is a classic example used to illustrate
various AI techniques, especially planning, problem-solving, and search algorithms.

In the block world, a robot manipulates blocks in a simple environment, and the goal is to move
these blocks from an initial configuration to a desired goal configuration.

• Components of the Block World Problem:

1. Blocks: Typically, you have a finite set of blocks, often labeled (e.g., A, B, C).

2. Table: A surface where blocks are placed.

3. Robot Arm: A virtual agent capable of picking up one block at a time and moving it.

4. Stacking Rules: Blocks can be stacked on each other or placed on the table, but only one
block can be moved at a time, and only the top block of a stack can be picked up.

Problem Setup

• Initial State: This is the starting arrangement of blocks.

• Goal State: This is the desired final arrangement of the blocks.

• Actions: The robot can perform specific actions like:

- Pick-up(block): Pick up a block from the table or another block.

- Put-down(block): Place the block on the table.

- Stack(block1, block2): Place block1 on top of block2.

- Unstack(block1, block2): Remove block1 from on top of block2.

Block world (2)

A heuristic function, denoted as h(n), provides an estimate of the cost from a node n to the goal
node.

1. Negative Heuristics for Initial Position:

, a. A negative heuristic value (e.g., -1, -2, -3) is often used to represent distance
from the goal when we are starting from the initial state. As you get closer to the
goal state, the heuristic value increases.

b. It shows how "bad" the initial position is compared to the goal state. A lower
(more negative) value means you're farther from the goal.

2. Positive Heuristics for Final Position:

a. A positive heuristic value (e.g., 1, 2, 3) often represents progress toward the goal.
As you move closer to the goal, the heuristic value becomes less positive or
reaches 0.

b. At the goal state, the heuristic is typically 0 or a positive value indicating that the
solution has been found, or that no more cost is needed to reach the goal.

• AI techniques like search algorithms and planning can be used to solve the Block World
problem.

• Search Algorithms: BFS, DFS, or A* (find the optimal path from the initial state to the
goal state).

• Planning Algorithms: Used to automatically determine the sequence of actions needed
to reach the goal.

• One such algorithm is STRIPS (Stanford Research Institute Problem Solver), which
models actions, states, and goals in terms of logical predicates and operators.




STRIPS (Stanford Research Institute Problem Solver)

, Implementation using Goal Stack

• Goal stack: Technique used to decompose a complex problem into smaller sub-goals,
which can be solved step by step to reach the main goal. The goal stack stores the

Written for

Institution
Course

Document information

Uploaded on
January 27, 2025
Number of pages
27
Written in
2024/2025
Type
Class notes
Professor(s)
Dr. surendar m
Contains
All classes

Subjects

$8.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
jaidansibijaidan2001

Also available in package deal

Get to know the seller

Seller avatar
jaidansibijaidan2001 Garden City university
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
1 year
Number of followers
0
Documents
4
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions