swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swarm-Support] code for memory problem


From: Paul E. Johnson
Subject: Re: [Swarm-Support] code for memory problem
Date: Tue, 05 Aug 2003 01:35:36 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030618

mc wrote:

Hi,
here is my code for recreating the problem. No privacy problem, this is a testing-code model of an evolutionary dynamics where the agents do not
do anything (Let say the evolution of extreme laziness!). I just use it
for testing new programming things.

You find the EZDistribution creation phase in ModelSwarm.m

Then each Agent (in Person.m) updates the EZDistribution it in "-step".

I put a comment like " // here EZDistribution " each time the code
refers to EZDisto, so you can grep the files and find the code that you
are interested in.

Please, do not pay attention to the rest of the comments about the code,
because they do not make any sense
I hope it helps
marcello


Just clearing old email today. I found a memory leak in probes that was causing the problem you saw. It has been fixed in the swarm source, as of about 4 weeks ago.

pj

--
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ukans.edu/~pauljohn
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66045                FAX: (785) 864-5700




reply via email to

[Prev in Thread] Current Thread [Next in Thread]