MASON-INTEREST-L Archives

March 2011

MASON-INTEREST-L@LISTSERV.GMU.EDU

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

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

Print Reply
Sender:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Tue, 22 Mar 2011 10:20:15 -0400
MIME-version:
1.0 (Apple Message framework v936)
Reply-To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Content-type:
text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
Subject:
From:
Sean Luke <[log in to unmask]>
In-Reply-To:
Content-Transfer-Encoding:
8bit
Comments:
To: Jörg Höhne <[log in to unmask]>
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