MASON-INTEREST-L Archives

November 2004

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:
Rob Alexander <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Tue, 9 Nov 2004 16:35:29 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (27 lines)
Hi,

> I think your next step in your plan of attack should be to test the
> model without visualization, but in your loop main loop, before you
> call schedule.step(), experiment with (1) a call to
> Thread.sleep(MILLISECONDS_PER_TICK), and (2) a bogus call to
> Thread.currentThread().isInterrupted() to see if either may be causing
> the problem.

(Sorry for the long delay in replying)

In the end, I didn't take this any further - I just dropped the target
frame rate and this worked better (at 15fps target I got about 12.9 actual).

For my next project, I'll be writing my own Controller, but if I run
into the same problem I'll posts details here.


yours,
rob

--
Rob Alexander                   (E-mail: [log in to unmask])
Research Associate, Dept of Computer Science, The University of York,
York, YO10 5DD, UK
Tel: 01904 432792       Fax: 01904 432708

ATOM RSS1 RSS2