MASON-INTEREST-L Archives

February 2012

MASON-INTEREST-L@LISTSERV.GMU.EDU

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

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

Print Reply
Content-Type:
multipart/alternative; boundary=f46d043be25e0b6f8904b86b6e89
Sender:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Subject:
From:
Mark Coletti <[log in to unmask]>
Date:
Tue, 7 Feb 2012 22:24:14 -0500
MIME-Version:
1.0
Comments:
To: MASON Multiagent Simulation Toolkit <[log in to unmask]>
Reply-To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Parts/Attachments:
text/plain (978 bytes) , text/html (1347 bytes)
I've just committed significant changes to MasonGeometry's attribute
implementation and have rippled forward those changes to the rest of
GeoMason.  There are a few rough edges to polish yet, but at least now
folks can kick the tires on this incarnation before I cut a new version of
GeoMason.

Now accessing attributes is trivial via these new MasonGeometry methods:

Integer getIntegerAttribute(String name)
Double getDoubleAttribute(String name)
String getStringAttribute(String name)
Object getAttributer(String name)
boolean hasAttribute(String name)

Moreover, the lookup for these values is now O(1), not O(log n).
 (Actually, some of the demos had O(n) implementations, which have now been
repaired.)

Note that ShapeFileExporter is currently broken by these changes.  I will
be fixing that shortly.

I'd be keenly interested to learn of any bugs or performance issues with
these changes.  Please e-mail me such, or post them to this mailing list.
 Thanks!

Cheers!

Mark Coletti
-- 
[log in to unmask]


ATOM RSS1 RSS2