logo

Crowdly

Browser

Додати до Chrome

The Vaccuum World contains two rooms: A  and  B , and an intelligent agent, the...

✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.

The Vaccuum World contains two rooms: A and B, and an intelligent agent, the vaccuum cleaner. The task of the agent is to keep the rooms clean.

tolmuimejamaailm

The agent's actions:

ActionCostEffect
Right1Moves right (to room B)
Left1Moves left (to room A)
Vacuum1Room becomes clean
NoOp0-

At each step the agent receives sensor data as input: 1.) room, A or B 2.) the state, clean or dirty. After that the agent performs one action. The agent's program:

def decide_action(room, status):

if status == "dirty": return "Vacuum"

elif room == "A": return "Right"

else: return "Left"

Suppose the agent works n=10 steps from the state given in the picture above. We evaluate the performance of the agent as follows:

What is the performance of the agent after 10 steps?

Більше питань подібних до цього

Хочете миттєвий доступ до всіх перевірених відповідей на moodle.taltech.ee?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!

Browser

Додати до Chrome