January 2012


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
"Richard O. Legendi" <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Fri, 27 Jan 2012 10:51:50 +0100
text/plain (51 lines)
Dear Paul and Sean,

Thanks for the clarifications and suggestions for both of you! I think I 
will take another look on NetworkPortroyal.

Just for the archives, I made a minimal MASON model using JUNG, maybe 
someone will find it useful in the future:

Best regards,

Richard O. Legendi
Software developer
Intelligent Applications and Web Services
AITIA International, Inc.

On 2012.01.26. 21:03, Sean Luke wrote:
> The NetworkPortrayal2D class:  When we developed the Network class, one thing that was clear was we did not want the Network to necessarily be connected to an embedding in some metric space.  Of course, to display a Network on-screen it has to be embedded somehow so it can be visualized.  So the expectation was that you specify where the nodes go and then the NetworkPortrayal handles the rest.  MASON, however, has no layout algorithm at all.  It's up to you to build something there.
> The Socialnets package: this is really extensions on Network class and for your purposes it won't add any more visualization advantages.
> JUNG: the primary person developing JUNG was Maciej Latek<[log in to unmask]>, and it was a while ago.  JUNG has lots of nice visualization features -- this is of course the whole point of its existence -- but it's not speedy by any means.
> Sean
> On Jan 26, 2012, at 9:49 AM, Paul Smaldino wrote:
>> This is my understanding as well, and describes the way I've used the NetworkPortrayal2D class myself (Smaldino&  Lubell, 2011, PLoS ONE). The real drawback for me is your latter concern about implementing the network layout algorithm by hand. This is probably easily copied/adapted from something like JUNG, though.
>> Best,
>> -Paul
>> On Thu, Jan 26, 2012 at 4:51 AM, Richard O. Legendi<[log in to unmask]>  wrote:
>> Dear All,
>> I have to write a few simulations where the communication topology of the agents is based on networks. However, there is no 2D space on which they are moving.
>> I was reading the docs/tutorials (BTW thanks for the great WCSS tutorial sources, they really helps a lot!), and got the impression that there are basically 3 ways of dealing with networks in MASON:
>> 	 Using the NetworkPortrayal2D class.
>> 	 Using the Socialnets package.
>> 	 Using JUNG
>> As far as I see, the drawback of options 1) and 2) for me is that I have to create a dummy 2D world (like a Continuous2D) and implement the network layouting algorithm by hand.
>> Could you please verify that I see the possibilities correctly? I already have a PoC code with option 3), just wanted to make sure that I am on the right path.
>> Thanks in advance for any suggestion!