Information Technology Reference
In-Depth Information
agent
block
base
Fig. 1. The foraging agent example
(a)
M = (Is_carrying_block, Is_at_base, Does_see_block)
move_and_see_block
has_seen_block
carrying_nothing
pick_block
move_and_see_nothing
leave_block
carrying_block
move_and_be_at_base
move_and_not_be_at_base
at_base
(c)
(b)
M=((X ,Y), ( Xbase , Ybase ), P( Xblock x Yblock ))
M = (( X ,Y ), ( Xbase, Ybase ), CarryingBlockId )
carrying_nothing
carrying_nothing
search_for_block
search_for_block
search_and_see_block
search_and_see_block
leave_block
_at_base
leave_block
_at_base
carrying_block
carrying_block
search_for_base
search_for_base
Fig. 2. Examples of modelling the foraging agent example: a) very abstract representation b) more
detailed, but complex representation c) the best represented solution
a position, in such an example might result into an incomplete model. A more de-
tailed representation can be derived from solution (b) (it can be noted that the rep-
resentation is a design choice, for instance the memory variables that correspond to
positions are integers). Yet again, this representation is way too complex and probably
more difficult to work with. Finally, the last representation (c), is the best solution in
terms of completeness and complexity because it deals with the positioning of the agent
(adds to completeness), but does not deal with the positioning of the blocks (reduced
complexity).
 
Search WWH ::




Custom Search