Newsgroups: comp.ai.alife
Path: cantaloupe.srv.cs.cmu.edu!rochester!udel!gatech!howland.reston.ans.net!spool.mu.edu!news.cs.indiana.edu!cbaray@cs.indiana.edu
From: "cristobal baray" <cbaray@cs.indiana.edu>
Subject: Programming technique...
Message-ID: <1995Oct17.184419.9129@news.cs.indiana.edu>
Organization: Computer Science, Indiana University
Date: Tue, 17 Oct 1995 18:44:12 -0500
Lines: 15


I want to code up a system where the agents in the world will need to
know when other agents are within a certain radius...I was wondering
what approaches people have taken to solve this problem.  Is there a
better way than just going through a list of agents and their
locations and doing some pythagorean calculations?  I was thinking of
going to polar coordinates, but it's been a long time - are there some
nifty tricks to help with the computations?

thanks...

cristobal baray
cbaray@cs.indiana.edu
-- 
<a href="http://www.cs.indiana.edu/hyplan/cbaray.html">cristobal baray</a>
