Information Technology Reference
In-Depth Information
Micro-level: Agent
A Tileworld-agent is characterized by the following attributes:
environment
current position: ( x, y )
(0
N x , 0
N y )
current target: ( x, y ) (0 ≤ N x , 0 ≤ N y )
tile: yes/no (indicates whether the agent is currently carrying a
tile)
A Tileworld-agent has just a Perceive -sensor. With this sensor, the
agent may perceive the status of the environment. Each perceive-
action takes 1 time step and perfect perception is assumed, i. e., all
obstacles, tiles and holes are identified correctly. Furthermore, a
Tileworld-agent is equipped with four effectors:
The Plan -effector contains the planning process (i. e., selection of
tiles and holes, path planning). Each plan-action takes 1 time step.
The Move -effector is used for moving one step ahead (north, east,
south, or west). Each move-action takes 1 time step.
The Pick-up -effector is used to pick up tiles. In order to pick up a
tile, an agent has to be on the same cell. Each pick-up-action takes
1timestep.
The Put-down -effector is used to put a tile into a hole. In order to
put a tile into a hole, an agent has to be on an adjacent cell (as
agents may not walk on holes). Each put-down-action takes 1 time
step.
Figure 9.13 illustrates the behavior of a Tileworld-agent. As soon as it
perceives a tile, it starts moving to this tile. Once the tile is reached,
it is picked up and the agent is headed for the closest hole. As soon
as it arrives at the hole and is on a cell adjacent to the hole, it drops
the tile into the hole. Afterwards, the agent is headed for the next
tile. If no tile is present, the agent waits at his current position.
Search WWH ::




Custom Search