• Tidak ada hasil yang ditemukan

U NIVERSITÄTK OBLENZ -L ANDAU

N/A
N/A
Protected

Academic year: 2018

Membagikan "U NIVERSITÄTK OBLENZ -L ANDAU"

Copied!
42
0
0

Teks penuh

(1)

Introduction to Artificial Intelligence

Intelligent Agents

Bernhard Beckert

(2)

Outline

Agents and environments

PEAS (Performance, Environment, Actuators, Sensors)

Environment types

Agent types

Example: Vacuum world

(3)

Agents and environments

?

agent

percepts

sensors

actions

environment

actuators

(4)

Agent functions and programs

Agent function

An agent is completely specified by the agent function

f

:

P

A

mapping percept sequences to actions

(5)

Agent functions and programs

Agent program

runs on the physical architecture to produce

f

takes a single percept as input

keeps internal state

function SKELETON-AGENT(percept) returns action

(6)

Rationality

Goal

Specified by performance measure,

defining a numerical value for any environment history

Rational action

Whichever action maximizes the expected value

of the performance measure given the percept sequence to date

(7)

Rationality

Goal

Specified by performance measure,

defining a numerical value for any environment history

Rational action

Whichever action maximizes the expected value

of the performance measure given the percept sequence to date

Note

(8)

Rationality

Goal

Specified by performance measure,

defining a numerical value for any environment history

Rational action

Whichever action maximizes the expected value

of the performance measure given the percept sequence to date

Note

rational

6

=

omniscient

rational

6

=

clairvoyant

rational

6

=

successful

Agents need to: gather information, explore, learn, . . .

(9)

PEAS: The setting for intelligent agent design

Example: Designing an automated taxi

Performance

Environment

Actuators

(10)

PEAS: The setting for intelligent agent design

Example: Designing an automated taxi

Performance safety, reach destination, maximize profits, obey laws, passenger comfort,

. . .

Environment

Actuators

Sensors

(11)

PEAS: The setting for intelligent agent design

Example: Designing an automated taxi

Performance safety, reach destination, maximize profits, obey laws, passenger comfort,

. . .

Environment streets, traffic, pedestrians, weather, customers,

. . .

Actuators

(12)

PEAS: The setting for intelligent agent design

Example: Designing an automated taxi

Performance safety, reach destination, maximize profits, obey laws, passenger comfort,

. . .

Environment streets, traffic, pedestrians, weather, customers,

. . .

Actuators steer, accelerate, brake, horn, speak/display,

. . .

Sensors

(13)

PEAS: The setting for intelligent agent design

Example: Designing an automated taxi

Performance safety, reach destination, maximize profits, obey laws, passenger comfort,

. . .

Environment streets, traffic, pedestrians, weather, customers,

. . .

Actuators steer, accelerate, brake, horn, speak/display,

. . .

(14)

PEAS: The setting for intelligent agent design

Example: Medical diagnosis system

Performance

Environment

Actuators

Sensors

(15)

PEAS: The setting for intelligent agent design

Example: Medical diagnosis system

Performance Healthy patient, minimize costs, avoid lawsuits, . . .

Environment

Actuators

(16)

PEAS: The setting for intelligent agent design

Example: Medical diagnosis system

Performance Healthy patient, minimize costs, avoid lawsuits, . . .

Environment patient, hospital, staff, . . .

Actuators

Sensors

(17)

PEAS: The setting for intelligent agent design

Example: Medical diagnosis system

Performance Healthy patient, minimize costs, avoid lawsuits, . . .

Environment patient, hospital, staff, . . .

Actuators questions, tests, diagnoses, treatments, referrals, . . .

(18)

PEAS: The setting for intelligent agent design

Example: Medical diagnosis system

Performance Healthy patient, minimize costs, avoid lawsuits, . . .

Environment patient, hospital, staff, . . .

Actuators questions, tests, diagnoses, treatments, referrals, . . .

Sensors keyboard (symptoms, test results, answers), . . .

(19)

Environment types

Fully observable (otherwise: partially observable)

(20)

Environment types

Fully observable (otherwise: partially observable)

Agent’s sensors give it access to the complete state of the environment at each point in time

Deterministic (otherwise: stochastic)

The next state of the environment is completely determined by the current state and the action executed by the agent

(strategic: deterministic except for behavior of other agents)

(21)

Environment types

Fully observable (otherwise: partially observable)

Agent’s sensors give it access to the complete state of the environment at each point in time

Deterministic (otherwise: stochastic)

The next state of the environment is completely determined by the current state and the action executed by the agent

(strategic: deterministic except for behavior of other agents)

(22)

Environment types

Static (otherwise: dynamic)

Environment can change while the agent is deliberating

(semidynamic: not the state but the performance measure can change)

(23)

Environment types

Static (otherwise: dynamic)

Environment can change while the agent is deliberating

(semidynamic: not the state but the performance measure can change)

Discrete (otherwise: continuous)

(24)

Environment types

Static (otherwise: dynamic)

Environment can change while the agent is deliberating

(semidynamic: not the state but the performance measure can change)

Discrete (otherwise: continuous)

The environment’s state, time, and the agent’s percepts and actions have discrete values

Single agent (otherwise: multi-agent)

Only one agent acts in the environment

(25)
(26)

Environment types

Fully observable yes

Deterministic yes

Episodic no

Static yes

Discrete yes

Single agent yes

(27)

Environment types

Fully observable yes yes

Deterministic yes strat.

Episodic no no

(28)

Environment types

Fully observable yes yes yes

Deterministic yes strat. no

Episodic no no no

Static yes semi yes

Discrete yes yes yes

Single agent yes no no

(29)

Environment types

Fully observable yes yes yes no

Deterministic yes strat. no (yes)

Episodic no no no no

(30)

Environment types

Fully observable yes yes yes no no

Deterministic yes strat. no (yes) no

Episodic no no no no no

Static yes semi yes semi no

Discrete yes yes yes yes no

Single agent yes no no no no

(31)

Environment types

Fully observable yes yes yes no no no

Deterministic yes strat. no (yes) no no

Episodic no no no no no yes

(32)

Environment types

The real world is

partially observable

stochastic

sequential

dynamic

continuous

multi-agent

(33)

Agent types

Four basic types

(in order of increasing generality)

simple reflex agents

reflex agents with state

goal-based agents

(34)

Simple reflex agents

Agent

Environment

Sensors

Actuators

What the world

is like now

What action I

should do now

Condition/action rules

(35)

Model-based reflex agents

Environment

Sensors

What the world

is like now

What action I

should do now

State

How the world evolves

What my actions do

(36)

Goal-based agents

Agent

Environment

Sensors

Actuators

What it will be like

if I do action A

What the world

is like now

What action I

should do now

State

How the world evolves

What my actions do

Goals

(37)

Utility-based agents

Environment

Sensors

What it will be like

if I do action A

What the world

is like now

How happy I will be

in such a state

What action I

should do now

State

How the world evolves

What my actions do

(38)

The vacuum-cleaner world

(39)

The vacuum-cleaner world

Percepts

– location

(40)
(41)

The vacuum-cleaner world

Performance measure

+

100

for each piece of dirt cleaned up

1

for each action

(42)

The vacuum-cleaner world

Observable? Deterministic? Episodic? Static? Discrete?

Referensi

Dokumen terkait

Hasil uji daya antijamur larutan ekstrak etanol buah mengkudu yang disimpan selama empat minggu menunjukkan adanya peningkatan daya antijamurnya pada dua minggu pertama dan

This is a particular problem since a power outage during the night usually results in the clock failing to trigger the alarm in the morning. To reduce the problem, later designs

Ada bila negara mau Semi sentralisasi Sosialistik Komunisme Semua dimiliki negara Negara Insentif terbatas Negara Tidak ada Sentralisasi penuh Untuk Ideologi Campuran Individu

Tujuan kegiatan distribusi baik yang dilakukan oleh individu atau lembaga adalah sebagai berikut...  Kelangsungan kegiatan produksi dapat terjamin. Produsen atau perusahaan membuat

Untuk variabel Produksi dapat disimpulkan bahwa produksi beras nasional tidak berpengaruh positif terhadap impor beras, hal ini dikarenakan pelaksanaan dan proses impor

menyusun kebijakan teknis di bidang penyusunan rencana, program, dan kegiatan serta pengelolaan administrasi keuangan dan penyusunan laporan penyelenggaraan pemerintahan

3 Penyajian 1) Mahasiswa mempelajari materi tentang Keterampilan Berbahasa Terpadu dengan Fokus Berbicara yang diberikan tutor. 2) Tutor menyediakan forum

Tujuan penelitian ini adalah untuk mengetahui apakah perlu penambahan produksi air untuk memenuhi kebutuhan air bersih pelanggan PDAM Maros saat ini, melakukan simulasi jaringan