Docsity

Artifical intelligence slides, Lecture notes of Social Intelligence

Partial preview of the text

Download Artifical intelligence slides and more Lecture notes Social Intelligence in PDF only on Docsity!

Problem solving by searching

AI

Problem Solving Agents

  • When the correct action to take is not immediately obvious, an agent may

need to plan ahead to consider a sequence of actions that form a path to a goal state****.

  • Such agents is called a problem-solving agent, and the computational

process it undertakes is called search.

  • Problem Solving Phases (four-phase problem-solving process): - Goal formulation: Goals organize behaviour by limiting the objectives and hence the actions to be considered. - Problem formulation: The agent devises a description of the states and actions necessary to reach the goal. - Search: Before taking any action in the real world, the agent simulates sequences of actions in its model, searching until it finds a sequence of actions that reaches the goal. - Such a sequence is called a solution. - Execution : The agent can now execute the actions in the solution, one at a time.

Example: Romania

  • Credits: AIMA by Peter N.

Search problems and solutions

  • A search problem can be defined formally as follows:
    • A set of possible states that the environment can be in. We call this the state space.
    • The initial state that the agent starts in. For example: Arad.
    • A set of one or more goal states.
    • The actions available to the agent. » ACTIONS (Arad) = {ToSibiu, ToTimisoara, ToZerind } - A transition model , which describes what each action does.
    • An action cost function , denoted by ACTION-COST(s,a,s").

Formulating problems

  • Our formulation of the problem of getting to goal is a

model— an abstract mathematical description.

  • The process of removing detail from a representation is called

abstraction.

  • A good problem formulation has the right level of detail.

“The choice of a good abstraction involves removing as

much detail as possible while retaining validity and

ensuring that the abstract actions are easy to carry

out.”