Directed Groupal Random Walk

Directed Groupal Random Walk preview image

1 collaborator

Tags

random walk 

Tagged by Sebastián Omar Rodríguez Falcón about 4 years ago

Visible to everyone | Changeable by everyone
Model was written in NetLogo 6.1.1 • Viewed 177 times • Downloaded 11 times • Run 0 times
Download the 'Directed Groupal Random Walk' modelDownload this modelEmbed this model

Do you have questions or comments about this model? Ask them here! (You'll first need to log in.)


Info tab cannot be displayed because of an encoding error

Comments and Questions

INFO TAB:

WHAT IS IT? The phenomenon modelled is the emergence behaviour from a group of turtles/people/particles when randomly approaching into each other. It could be explained as a simple room game in which everyone in the room decides to choose randomly someone in their arounds and take 1 step forward in their direction, repeating the same process multiple times, everyone at the same time, tick by tick. ►Agents: Turtles : They would act like the particles/people. Observer: It would set values for the setup ►Properties: Turtles: A agenset called SOMEONE which refers to the turtle they chose randomly and will approach to. Global : Vision range value called VISION(0:30), every turtle will have the same range of vision. Number of turtles created called NUMBER(0:100). HOW IT WORKS SETUP (Initialize): First you need to set NUMBER and then VISION (this one can be changed during the process). Once it is decided, clicking SETUP will create turtles with initial random position. GO (Iterative / Tick): The turtles first select randomly a turtle in their range of vision and set them as SOMEONE, then face them and take 1 step forward in direction to them. If there is no one in their range of vision, they wont move until next tick. HOW TO USE IT ►The SETUP and GO button were explained in order above. ►The inputs: NUMBER: The number of turtles that would be created. VISION: Choose the range vision of the individuals. ►The outputs: MONITOR: Positioning of turtles. THINGS TO NOTICE Once the model is running, you will notice how the turtles will start to create groups and start to move together as a whole (similarly to “orbitation” around the center of mass). When different groups meet each other, they will start an “turtle exchange” that most of the time will end up with both groups converging. If VISION is high enough, the turtles will create just one big group. THINGS TO TRY Low VISION value (0-10) will create different groups, and once they connect each ither by trading one turtles, they will converge into one big group. High VISION value (11+) will create one big group automatically.

Posted about 4 years ago

Click to Run Model

turtles-own [someone]

to setup
  clear-all
  setup-patches
  setup-turtles
end 

to go
  ask turtles [search move repeat 500 [display] ]
end 

to setup-patches
  ask patches [ set pcolor white]
end 

to setup-turtles
  create-turtles number [ setxy random-xcor random-ycor]
end 

;; AGREGAR AT +1 -1

to search
set someone one-of other turtles in-radius vision
end 

to move
  if (someone != nobody)[
face someone
fd 1
set someone no-turtles
  ]
end 

There are 2 versions of this model.

Uploaded by When Description Download
Sebastián Omar Rodríguez Falcón about 4 years ago V.1 Download this version
Sebastián Omar Rodríguez Falcón about 4 years ago Initial upload Download this version

Attached files

File Type Description Last updated
Directed Groupal Random Walk.png preview Preview for 'Directed Groupal Random Walk' about 4 years ago, by Sebastián Omar Rodríguez Falcón Download

This model does not have any ancestors.

This model does not have any descendants.