MASON-INTEREST-L Archives

March 2011

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

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

Print Reply
Subject:
From:
Sean Luke <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Tue, 22 Mar 2011 10:20:15 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
Got it.  You need a probe into each simulation iteration and not every  
N timsteps of simulation time.  What you're doing seems perfectly  
rational to me.

Sean

On Mar 22, 2011, at 9:38 AM, Jörg Höhne wrote:

>
> On 22.03.2011, at 13:15, Sean Luke wrote:
>
>>
>> So I'm interested: what kind of code are you executing before and  
>> after each step?  Is there a reason why MASON's "ordering" facility  
>> wouldn't be sufficient?  Should we be thinking about adding a gizmo  
>> to the existing Schedule?
>
> The general idea is to execute some sort of user defined code before  
> each step and after each step. The calling sequence is
> 	<user def. code1> <Steppable 1> <Steppable2> ... <Steppable n>  
> <user def. code2>
>
> I'd like to gather some statistics for each simulation step but not  
> for a equidistant time progress. Ordering will not help because I  
> have to track each scheduleXXXX invocation if I have to insert a  
> BEFORE event and an AFTER event for the scheduled event and hence  
> simulation step.
>
> The simplest solution (otherwise I'm simply stupid and do not see  
> the obvious solution) is to extend the Schedule class to overwrite  
> the step method.
>
> Hope that explains my problem,
>
> Jörg
>

ATOM RSS1 RSS2