User Tools

Site Tools


public:t-622-arti-12-1:lab_1_-_agents

This is an old revision of the document!


Lab 1 - Agents

Problem Description

Implement the control program for a vacuum cleaner agent. The environment is a rectangular grid of cells which may contain dirt or an obstacle. The agent is located in this grid and facing in one of the four directions: north, south, east or west. The agent can execute the following actions:

  • TURN_ON: This action initialises the robot and has to be executed first.
  • TURN_RIGHT, TURN_LEFT: lets the robot rotate 90° clockwise/counter-clockwise
  • GO: lets the agent attempt to move to the next cell in the direction it is currently facing.
  • SUCK: suck the dirt in the current cell
  • TURN_OFF: turns the robot off. Once turned off, it can only be turned on again after emptying the dust-container manually.

The robot is equipped with a dust sensor and a touch sensor. If there is dirt at current location of the robot, the agent will sense “DIRT”. If the robot is bumping into an obstacle, the agent will sense “BUMP”. The goal is to clean all cells and return to the initial location before turning the robot off. Note, a full charge of the battery of the robot will only last for 100 actions.

Tasks

  1. Develop a simple reflex vacuum cleaner agent. Is it rational?
  2. Develop a model-based reflex agent that is able to clean every cell. Is it rational?

Material

/var/www/cadia.ru.is/wiki/data/attic/public/t-622-arti-12-1/lab_1_-_agents.1326976643.txt.gz · Last modified: 2024/04/29 13:32 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki