MASON-INTEREST-L Archives

February 2014

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
Content-Transfer-Encoding:
8bit
Sender:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Subject:
From:
Sean Luke <[log in to unmask]>
Date:
Tue, 11 Feb 2014 15:19:38 -0500
MIME-version:
1.0 (Mac OS X Mail 7.1 \(1827\))
Content-type:
text/plain; charset=iso-8859-1
Reply-To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
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