This is an example of a step by step improvement of the basic Reflex-Agent design for the Wumpus-World.
You may now either go back to the introduction page or just read on from hear
"Tell me - What does it show?"
"What's the point of all this?"
A Resumé:
It is not always enough for a Reflex-Agent to act on it's Percepts only. In a complicated world like theWumpus-World the agent will find it difficult to survive or even grab a piece of gold. Still it may survive - but in most cases only if it freaks out and returns home ("CLIMB") at the starting field...
Therefore the agent should also memorize it's last move (even better it's last successful move), to dodge pits and elude the Wumps (if it has no arrows left to kill it).
This example also shows the difference
between live and death.
The first agent might fall into a pit or be
gobbled by the Wumpus because of the random
movement it takes upon the "BREEZE" and "STENCH"
Percepts.
The second to third agents know their last move and can
revert/negate it to get to a save place. One might also
see it like this - if the last three agents find their
live is endangered they will freaks out but stay calm
enough to always revert this last move. The first agent
is utterly lost in this case and runs away in any
direction - even into deaths hand.
Still even the simplest Reflex-Agent may performe well in a simple environment, where it's live is not endangered...
back to the introduction page