[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GUISwarm (2)
From: |
Stuart Lowry |
Subject: |
Re: GUISwarm (2) |
Date: |
Wed, 23 Oct 1996 09:47:52 -0400 (EDT) |
>
> > I hacked the heatbugs code to create my own simulation. All is going well
> > with one exception...each step taks about 5 seconds to complete. My
> > calculations are minimal but my world size is 200 x 200. Is there any hope
> > of speeding up this simulation? I tried to create a list of all my agents
> > and passed it to the "setObjectCollection". this had no impact.
>
> Stuart,
>
> How many agents are you running with and what do they have to do at
> each cycle? If your agents are fairly simple, this shouldn't happen.
> The world size, in itself, shouldn't cause a lag like this. Does the
> lag worsen the more agents you have?
>
> glen
>
the same number of agents in a 20 x 20 world runs with speeds comparable to
the heatbug simulation.
When I get a chance I will recompile the swarm libs with profiling enabled
& see if that helps to profile the application...until then I will
continue to search.
--
_____________________________________________________________________________
Stuart Lowry address@hidden
Science Applications International Corp. (SAIC) (301)261-8424 (voc)
200 Harry S Truman Parkway #400 (301)261-8427 (fax)
Annapolis, MD 21401 http://kestrel.c3i.saic.com/~slowry
-=*+*=- -=*+*=- -=*+*=- -=*+*=- -=*+*=- -=*+*=- -=*+*=- -=*+*=-
- Re: GUISwarm (2),
Stuart Lowry <=