You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From Dec 16, repast-interest mailing list question:
Hi,
for my Repast Simphony Project I changed the underlying graph implementation for networks from
JUNG (https://github.com/jrtom/jung)
to JGraphT (https://github.com/jgrapht/jgrapht),
because it gives me significant performance boosts speedwise. (network with 500.000+ agents)
I did this by implementing a class
JGraphTNetwork extends DefaultProjection implements Network
which provides the appropriate mapping to the JGraphT API
and a class
ContextJGraphTNetwork implements Network, ContextListener
which basically just copies ContextJungNetwork. (not so good solution)
Is there in general a more easy way of doing this?
When I want to export the network as graphml I also run into
class newyork.graph.ContextJGraphTNetwork cannot be cast to class repast.simphony.context.space.graph.ContextJungNetwork
Is there a way of fixing this?
Thank you very much.
Best
Tim
The text was updated successfully, but these errors were encountered:
From Dec 16, repast-interest mailing list question:
Hi,
for my Repast Simphony Project I changed the underlying graph implementation for networks from
JUNG (https://github.com/jrtom/jung)
to JGraphT (https://github.com/jgrapht/jgrapht),
because it gives me significant performance boosts speedwise. (network with 500.000+ agents)
I did this by implementing a class
JGraphTNetwork extends DefaultProjection implements Network
which provides the appropriate mapping to the JGraphT API
and a class
ContextJGraphTNetwork implements Network, ContextListener
which basically just copies ContextJungNetwork. (not so good solution)
Is there in general a more easy way of doing this?
When I want to export the network as graphml I also run into
class newyork.graph.ContextJGraphTNetwork cannot be cast to class repast.simphony.context.space.graph.ContextJungNetwork
Is there a way of fixing this?
Thank you very much.
Best
Tim
The text was updated successfully, but these errors were encountered: