MASON-INTEREST-L Archives

December 2012

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Content-Transfer-Encoding:
8bit
Sender:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Subject:
From:
Sean Luke <[log in to unmask]>
Date:
Thu, 20 Dec 2012 16:43:02 -0500
MIME-version:
1.0 (Apple Message framework v1084)
Content-type:
text/plain; charset=us-ascii
Reply-To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Parts/Attachments:
text/plain (15 lines)
I've received a request to include as-the-crow-flies distance neighborhoods (circular, spherical) for the grid environments.  While I'm mulling over exactly what the semantics of such neighborhoods should be (cells entirely within the circle?  Intersecting with the circle?), I'm also trying to figure out what the name should be for lookup methods.

For example, square/cube regions are designated as Moore neighborhoods, and diamond/octohedron regions are designated as Von Neumann neighborhoods, so we stuff like (using our newly renamed methods out on SVN):

	getMooreNeighbors
	getVonNeumannNeighbors

These names work fine for both 2D and 3D.  We also have getHexagonalNeighbors which only works for 2D but that's fine because it's only a concept in 2D.

Now I need a single name for neighbors within a circular region, or within a spherical region.  Some possible names: AsTheCrowFlies, StraightLineDistance, Spherical, Ball.  None of these are very appealing.  NetLogo uses the curious "in-radius" (as opposed to "in-moore-radius" etc.).

Suggestions?

Sean

ATOM RSS1 RSS2