Print

Print


Thanks for the tip. Greatly appreciated.
Cheers,
Edmund

-----Original Message-----
From: MASON Multiagent Simulation Toolkit <[log in to unmask]> On Behalf Of Sean Luke
Sent: Saturday, 11 August 2018 10:50 PM
To: [log in to unmask]
Subject: Re: Compute value after each time step is completed

Create a special agent and schedule it repeating on every timestep, but with a higher ordering (say, 10).  This will guarantee that it's stepped after all the agents scheduled for that step.

Sean

> On Aug 10, 2018, at 3:27 AM, Edmund Lai <[log in to unmask]> wrote:
> 
> I need to compute some aggregate values after each time step (after all the agents scheduled for that time step has been updated). How should I do it. The agents are scheduled continuously.
> 
> Many thanks in advance.
> 
> Edmund