MASON-INTEREST-L Archives

February 2014

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, 11 Feb 2014 15:19:38 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (8 lines)
> I have model that terminates on a condition rather than iterate for n time. Then how can I parallel .

Instead of doing a loop of STEPS_PER_RUN, just do a while-loop and check if the model has completed.

BTW, Ernesto, you're missing some start() and finish() method calls in your example.

Sean

ATOM RSS1 RSS2