Agent-Based Modeling of Misinformation Diffusion

No preview image

This model is seeking new collaborators — would you please help?

2 collaborators

Default-person T V (Author)
Default-person tere v (Author)

Tags

(This model has yet to be categorized with any tags)
Visible to everyone | Changeable by everyone
Model was written in NetLogo 7.0.0-beta2 • Viewed 42 times • Downloaded 16 times • Run 0 times
Download the 'Agent-Based Modeling of Misinformation Diffusion' modelDownload this modelEmbed this model

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

Please start the discussion about this model! (You'll first need to log in.)

Click to Run Model

turtles-own [state is-influencer?]
breed [people person]
breed [bots bot]

to setup
  clear-all
  setup-nodes
  setup-spatially-clustered-network
  ask links [set color white]
end 

to setup-nodes
  create-people num-people[
    set color white
    setxy (random-xcor * 0.95) (random-ycor * 0.95)
    set shape "person"
    set size 1.5
    
  ]
  create-bots num-bots[
    setxy (random-xcor * 0.95) (random-ycor * 0.95)
    set shape "circle"
    set color red
    set size 1
  ]
  let num-influencers round (percent-influencers * 0.01 * num-people)
  print "Number of influencers: "
  print num-influencers
  ask n-of num-influencers people[
    set is-influencer? true
    set shape "star"
    set size 1.9
    ;set color yellow
  ]
end 

to setup-spatially-clustered-network
  let num-links (average-node-degree * count turtles) / 2
  while [count links < num-links ]
  [
    ask one-of turtles
    [
      let choice (min-one-of (other turtles with [not link-neighbor? myself])
                   [distance myself])
      if choice != nobody [ create-link-with choice ]
    ]
  ]
  ; make the network look a little prettier
  repeat 10
  [
    layout-spring turtles links 0.3 (world-width / (sqrt count turtles)) 1
  ]
end 

to go
end 

There are 4 versions of this model.

Uploaded by When Description Download
tere v about 8 hours ago added setup-nodes and setup-spatially-clustered-network procedures Download this version
T V about 10 hours ago added people and bots breeds. created initial setup procedure Download this version
T V about 10 hours ago Agent-Based Modeling of Misinformation Download this version
T V about 10 hours ago Initial upload Download this version

Attached files

No files

This model does not have any ancestors.

This model does not have any descendants.