MASON-INTEREST-L Archives

September 2012

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:
Daniel Gribel <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Wed, 12 Sep 2012 21:50:22 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (14 lines)
Hi guys,

I solved this problem by moving my checkpointing act (serialization) from
step() method to another point.

Tony,  when I said "is important to verify the current step, to
decide to save or not that moment", it was in terms of the application. As a
automatic checkpoint, my application should know when (in which step) save
the simulation. This "on every X steps" approach is set in a config section,
so the application should check the current step before serialization.

Thank you all. All the information posted here were very useful for the
resolution of the problem.

ATOM RSS1 RSS2