MASON-INTEREST-L Archives

August 2012

MASON-INTEREST-L@LISTSERV.GMU.EDU

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

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

Print Reply
Subject:
From:
Sean Luke <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Wed, 15 Aug 2012 02:09:44 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (15 lines)
1. We won't change their semantics -- they'll work as they did before: either bounded or toroidal.
2. They'll be officially deprecated.
3. New versions will have, instead of a "toroidal" boolean parameter, the following new parameters:

	- mode:	one of Grid2D.BOUNDED, Grid2D.UNBOUNDED, or Grid2D.TOROIDAL
	- includeOrigin (a boolean), which indicates whether to include the origin point itself in the neighborhood

4. Eventually we may push more functionality up into AbstractGrid2D to reduce the enormous amount of code replication,
but that's for later.

I've got versions of this code done, completely untested, for the 2D grids.  Want to do some testing first before
translating them to the 3D grids.  Then eventually will get them out on SVN.

Sean

ATOM RSS1 RSS2