Help with Network (Edge) Update

View: New views
2 Messages — Rating Filter:   Alert me  

Help with Network (Edge) Update

by Simon Ting :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi all!
I am constructing a small world network model, but it seems the network keeps unchanged at every tick, anything wrong?? The relevant codes are as following:
NetworkGenerator gen = new WattsBetaSmallWorldGenerator(0.2,4,false);
NetworkBuilder builder = new NetworkBuilder("Network",context,false);
builder.setGenerator(gen);
builder.buildNetwork();

Is there anything more I should do to make it changes or rewires the edges at every tick?
Thanks in advance!

Simon


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest

Re: Help with Network (Edge) Update

by Nick Collier-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Simon,

If you want to rewire an existing network rather than create new one from scratch, I think you want to use WattsBetaSmallWorldGenerator.createNetwork directly, rather than using the network builder.

That said, we've had one user report that the display didn't update when a network was rewired in this way so even if you don't see it rewiring, it may actually be occurring. We've tried to reproduce this problem but without success so far.

Nick

On Oct 16, 2009, at 11:09 PM, Simon DING wrote:

Hi all!
I am constructing a small world network model, but it seems the network keeps unchanged at every tick, anything wrong?? The relevant codes are as following:
NetworkGenerator gen = new WattsBetaSmallWorldGenerator(0.2,4,false);
NetworkBuilder builder = new NetworkBuilder("Network",context,false);
builder.setGenerator(gen);
builder.buildNetwork();

Is there anything more I should do to make it changes or rewires the edges at every tick?
Thanks in advance!

Simon
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest