Index of /~schubert/290A/gridworld-code/new-gridworld-code-2008

[ICO]NameLast modifiedSizeDescription

[DIR]Parent Directory  -
[   ]eg-shopping-world1-2008.lisp21-Apr-2008 04:13 7.1K
[   ]gridworld-definitions.lisp21-Apr-2008 06:16 14K
[TXT]gridworld-planning.lisp21-Apr-2008 14:45 79K
[   ]init.lisp21-Apr-2008 05:09 400

Apr 19/08:

To run gridworld, define a world in a file, then do
  acl
  (load "init.lisp")

Some instructions will be printed by init.lisp telling you 
how to proceed.

See ../new-functionalities-2008 to find out the main changes 
that have been made so far. This will hopefully be sufficient for
the purposes of the CSC 2890A project. (Further developments will
be left for the weeks following end of semester.)

By loading the example in this directory (eg-shopping-world2008.lisp)
and repeatedly typing (go!), you can see how the agent repeatedly
goes to the bank, withdraws $10, buys a pizza for $6, eats it,
goes home and (perhaps after taking another useless trip to the 
plaza and back) sleeps for a while. The bank account gets depleted,
and eventually the agent gets more and more tired, walking back 
and forth, but is unable to buy food -- or to sleep, because he can't
sleep while hungry. It's a sad story. Note that the length of sleep
is proportional to his fatigue (note that the *now* value is
printed after each action, and it can go up by more than one unit
when the agent sleeps). The intrinsic value of sleeping likewise
goes up proportionately with fatigue. (We could change the world
so that the agent can sleep even if he is hungry, provided that he
is sufficiently tired.) All this illustrates the role of computable 
functions.