Subject: | |
From: | |
Reply To: | |
Date: | Sat, 28 Jan 2017 19:21:50 +0000 |
Content-Type: | multipart/alternative |
Parts/Attachments: |
|
|
Thanks,
I will assume that it's my code and will make amendments.
Generally, the border and gridlines give me what I want
I use this small grid size so I can see the interaction of the agents and
for basic design and then when we have what is required.
Then I run larger grids of up to 3000 agents in a multiple batch run to
gather large quantities of data.
Kind regards,
Stewart.
On 27 January 2017 at 21:02, Sean Luke <[log in to unmask]> wrote:
> On Jan 27, 2017, at 9:51 PM, Stewart Aitken <[log in to unmask]> wrote:
>
> > Here are the three files.
> > If I initialise and then step singly it works completely as expected.
> > However, if I initialise and then run that is when we see the
> duplication in the display frame.
>
> I can't replicate that on OS X. However, I do note that your code freaks
> out after about 41 agents because you run out of space in your grid, and
> your method placeFirstAgent(...) goes into an infinite loop.
>
> > Re the Border edges, I can get them up to ObjectGrid2D( 45, 40) after
> this they just do not appear.
>
> Hmm, just tried on my box with your code at 100x100 on a 400x400 window
> and both the gridlines and the borders look great.
>
> Sean
>
--
EMAIL DISCLAIMER http://www.york.ac.uk/docs/disclaimer/email.htm
<http://www.york.ac.uk/docs/disclaimer/email.htm>
|
|
|