MASON-INTEREST-L Archives

February 2013

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show HTML 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:
Mark Coletti <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Wed, 20 Feb 2013 12:25:47 -0500
Content-Type:
multipart/alternative
Parts/Attachments:
text/plain (964 bytes) , text/html (1406 bytes)
On Thu, Feb 14, 2013 at 10:37 AM, Nick Malleson <[log in to unmask]>wrote:

>
> I'm using GeoMason to make a city simulation (agents walking along roads
> between houses) but might have come across a bug. I want to get the road
> network (a sim.&#8203;field.&#8203;network.Network object) from the field
> (a sim.&#8203;util.&#8203;
> geo.&#8203;GeomPlanarGraph object) to find out if the graph is connected
> or not.
>
> But the call to 'network.getNetwork()' causes the ClassCastException below.
> You can re-create this bug in CampusWorld but putting
> 'network.getNetwork();' anywhere (e.g. I currently have it as the first
> thing to be done after the super.start() call in the CampusWorld.start()
> method). See the output from CapusWorld below.
>
> Any ideas?
>
>
Yes, I suspect there was a subtle change to JTS that broke things, and I've
committed what I hope is a fix to subversion.  Can you do me a favor and
update and verify that my quick little fix works?

Cheers!

Mark


ATOM RSS1 RSS2