Bing_Social Network Simulator
Do you have questions or comments about this model? Ask them here! (You'll first need to log in.)
WHAT IS IT?
(a general understanding of what the model is trying to show or explain)
HOW IT WORKS
(what rules the agents use to create the overall behavior of the model)
HOW TO USE IT
(how to use the model, including a description of each of the items in the Interface tab)
THINGS TO NOTICE
(suggested things for the user to notice while running the model)
THINGS TO TRY
(suggested things for the user to try to do (move sliders, switches, etc.) with the model)
EXTENDING THE MODEL
(suggested things to add or change in the Code tab to make the model more complicated, detailed, accurate, etc.)
NETLOGO FEATURES
(interesting or unusual features of NetLogo that the model uses, particularly in the Code tab; or where workarounds were needed for missing features)
RELATED MODELS
(models in the NetLogo Models Library and elsewhere which are of related interest)
CREDITS AND REFERENCES
(a reference to the model's URL on the web if it has one, as well as any other necessary credits, citations, and links)
Comments and Questions
turtles-own [ source ] breed [news a-news] breed [people node] to setup clear-all setup-nodes setup-network reset-ticks end to setup-nodes set-default-shape turtles "circle" create-people number-of-nodes [ setxy (random-xcor * 0.95) (random-ycor * 0.95) set color green ] ask one-of turtles[set color pink] create-news 1 [setxy random-xcor random-ycor set color yellow set shape "square"] end to setup-network let num-links (ave-node-degree * number-of-nodes) / 2 while [count links < num-links] [ ask one-of people [ let choice (min-one-of (other people with [not link-neighbor? myself]) [distance myself]) if choice != nobody [create-link-with choice] ] ] ; make the network look a little prettier repeat 15 [ layout-spring turtles links 0.3 (world-width / (sqrt number-of-nodes)) 1 ] end to go ask turtles with [color = pink] [let spread one-of link-neighbors with [color = green] if spread != nobody [if random-float 100 < news-is-interesting [ask spread [set color pink]]] ] tick end
There is only one version of this model, created over 12 years ago by Bing Zhang.
Attached files
File | Type | Description | Last updated | |
---|---|---|---|---|
Bing_May 13.pdf | Progress Report_May 13 | over 12 years ago, by Bing Zhang | Download | |
Bing_May 20.pdf | Progress Report_May 20 | over 12 years ago, by Bing Zhang | Download | |
Bing_May 27.pdf | Progress Report_May 27 | over 12 years ago, by Bing Zhang | Download |
This model does not have any ancestors.
This model does not have any descendants.