August 2006


Options: Use Proportional Font
Show HTML Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Michael Lees <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Thu, 31 Aug 2006 16:03:14 +0100
text/plain (64 lines)
Hi all,

I seem to writing a lot of emails with suggestions and questions. 
Hopefully I'll be able to contribute answers soon.


For the purposes of my simulation I've designed a new type of steppable 
which has a phase. The design is not particularly elegant so I was 
wondering if there is a correct way of doing what I'm attempting.

Basically the way I've understood and learnt mason is that agents are 
steppables. You implement an agent by extending some form of steppable. 
You then schedule the agent and perhaps repeat the step every time-step. 
So say you have n agents the schedule at each time-step looks like:


Where a_i is the step method of agent i.

What I want to be able to do is basically split the step method of each 
agent in a single time-step, so we have the agent i has two step methods 
a_i and a'_i.
This would allow to have a repeatable schedule as...

[a_1,a_2,...,a_n, b, a'_1,a'_2,...,a'_n]

Where b is some other form of steppable.

The steppable would then have a flag which indcates the current 'phase' 
of the agent and which flipped on each call to step. The invocation of 
step would call a different step method (a_i or a'_i) according to the 
current value of the flag or 'phase'. (This could be generalised to n 

You would then schedule the agent in the same schedule multiple times at 
different orderings to achieve the desired affect.

So I thought about it some more and I wasn't sure if I was thinking 
about steppables in the correct way. You can think of steppables as 
events rather than agents? So rather than implementing your agent by 
extending steppable, the agent contains steppables which represent the 
events the agent can schedule. This way seems cleaner and slightly more 
natural to me, but I wasn't sure which way I should think about 
steppables. I have currently implemented the former but was thinking 
about changing.



This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.