swarm-support
[Top][All Lists]
Advanced

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

Re: Real Space


From: Marcus G. Daniels
Subject: Re: Real Space
Date: 11 Apr 2001 10:01:54 -0700
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

BR> I noticed that many of the swarm simulations that I have seen that
BR> look like they are actually in a real space are actually just in a
BR> highly discretized space.

You'd need an analog computer to do that...  If you are concerned
about memory consumption, and you have reason to believe something
about the distribution of agents in the space you could transform the
coordinates, say, x` = log(x) and y' = log(y), scaled appropriately.

BR> It would be nice to be able to have real coordinates for an agent as
BR> well as being able to find "neighbors within radius x" or "k-nearest
BR> neighbors" 

One way to avoid having agents reason in absolute space is to have all
agents inherit from an abstract base class that does these collection
procedures in one place, e.g. a getNeighbor (radius), method.  That
way you can hide the coordinate system of the space from the derived
classes.

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

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