MASON-INTEREST-L Archives

November 2010

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
Sender:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Subject:
From:
Martin Pokropp <[log in to unmask]>
Date:
Mon, 8 Nov 2010 16:52:56 +0100
Content-Type:
multipart/alternative; boundary=00504502ddc62a560804948c9e18
MIME-Version:
1.0
Reply-To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Parts/Attachments:
text/plain (1718 bytes) , text/html (2036 bytes)
Dear Sean, Dear Mason Users,


For my simulated undirected network I intend to use the additional
socialnets package provided with Mason. My network has 30000 nodes and is
sparse with about 6 edges per node.

As there are isolated nodes, I cannot get the mean Shortest Path of the
whole network. Instead, I'm trying to analyse the biggest connected
component by using

sim.field.network.stats.ConnectivityStatistics.getConnectedComponents(network)

Unfortunately the VM throws multiple stack overflow errors:


Exception in thread "main" java.lang.StackOverflowError
    at sim.field.network.Network.getNodeIndex(Network.java:618)
    at
sim.field.network.stats.ConnectivityStatistics$ConnectedComponentFactory.exploreU(ConnectivityStatistics.java:220)
    at
sim.field.network.stats.ConnectivityStatistics$ConnectedComponentFactory.exploreU(ConnectivityStatistics.java:222)
    at
sim.field.network.stats.ConnectivityStatistics$ConnectedComponentFactory.exploreU(ConnectivityStatistics.java:222)
    at
sim.field.network.stats.ConnectivityStatistics$ConnectedComponentFactory.exploreU(ConnectivityStatistics.java:222)
    at
sim.field.network.stats.ConnectivityStatistics$ConnectedComponentFactory.exploreU(ConnectivityStatistics.java:222)
    at
sim.field.network.stats.ConnectivityStatistics$ConnectedComponentFactory.exploreU(ConnectivityStatistics.java:222)
    at
sim.field.network.stats.ConnectivityStatistics$ConnectedComponentFactory.exploreU(ConnectivityStatistics.java:222)
    at
sim.field.network.stats.ConnectivityStatistics$ConnectedComponentFactory.exploreU(ConnectivityStatistics.java:222
...

I guess that there are too many recursions and the getConnectedComponents
method is not appropriate for networks such as mine?

Best Regards,

Martin


ATOM RSS1 RSS2