Generates a new Watts-Strogatz small-world network. The algorithm uses the Erdős–Rényi model. Generates a new random network of NB-NODES turtles in which each one has a connection probability (between 0 and 1) of being connected to each other turtles (this is specified through the CONNECTION-PROB slider). This is, of course, meaningful only in the case of a directed network. This will allow to specify if the "spokes" of the wheel point toward the central turtle (inward) or away from it (outward). On the right side of the WHEEL button, you will see a chooser allowing you the select either "inward" or "outward". The number of nodes must be at least four. Generates a wheel network, which is basically a ring network with an additional "central" turtle that is connected to every other turtle. The number of turtles can be as low as one, but it won't look much like a star. Generates a star network in which there is one central turtle and every other turtle is connected only to this central node. Generates a ring network of NB-NODES turtles, in which each turtle is connected to exactly two other turtles. The more links a turtle already has, the greater the probability that new turtles form links with it when they are added. Turtles are added, one by one, each forming one link to a previously added turtle, until nb-nodes is reached. the number of links for each turtle) should follow a power law. This network will have the property of being "scale free": the distribution of degrees (i.e. Generates a new network using the Barabási–Albert algorithm. Here is a description of each of generator. Note that at any time, you can press the SETUP/CLEAR button to erase everything and start over. You can disable this using the CLEAR-BEFORE-GENERATING? switch. The first six generator buttons (PREFERENTIAL ATTACHMENT, RING, STAR, WHEEL, RANDOM, and SMALL WORLD) will take the value of that slider into account.īy default, using one of the generators will clear the current network first. It allows you to specify the number of nodes you want to have in your network. The first thing that you will see in the Generators section of the model is a slider labeled NB-NODES. For other layouts, you can also use the LAYOUT ONCE button. This is especially useful in the case of the spring layout. NetLogo currently offers four different kinds of layouts (this is not new in the NW extension - they were all available before):Ĭlicking the LAYOUT forever button will ensure that the chosen layout is applied continuously. For example, if you ask for betweenness centrality with "directed links" selected in the chooser, but the network on the screen is undirected, the betweenness centrality values will all be zero, because the algorithm only takes directed links into account. Be careful to use the right value for the network you are interested in. The value of LINKS-TO-USE is used by the different clusterers and measures as well. You can generate different networks with different kinds of links without clearing everything in between. The LINKS-TO-USE chooser allow you to specify whether you want to use directed or undirected links: all the generators use the kind of links selected in the chooser. The SETUP/CLEAR button initializes the model and clears any existing networks. This model demonstrates various features of the Netlogo NW extension: it allows you to generate various kinds of networks, lay them out on screen, and get information about them. Note: If you download the NetLogo application, every model in the Models Library is included. (back to the library) NW General Examples NetLogo Models Library: NW General Examplesīeginners Interactive NetLogo Dictionary (BIND)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |