users-objects

users-objects preview image

2 collaborators

Patarakin_m Evgeny Patarakin (Author)
Default-person Boris Yarmakhov (Domain expert)

Tags

collaborations 

Tagged by Evgeny Patarakin almost 7 years ago

Parent of 1 model: Child of users-objects
Visible to everyone | Changeable by everyone
Model was written in NetLogo 5.0.4 • Viewed 171 times • Downloaded 10 times • Run 0 times
Download the 'users-objects' modelDownload this modelEmbed this model

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


Comments and Questions

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

Click to Run Model

breed [users user]
breed [objects object]

to setup
ca
end 

to users-create
  create-ordered-users 20 [
    set shape item random length ["person" "person business" "person construction" "person graduate" "person police" "person student" ]
    ["person" "person business" "person construction" "person graduate" "person police" "person student" ]  
    set size 2 fd 5 + random 5]
end 

to objects-create
    create-ordered-objects 8 [
        set shape item random length ["computer server"  "book" "music notes 3" "tile brick"]
  ["computer server"  "book" "music notes 3" "tile brick"]
    set size 2 fd 5 + random 2]
end 

to connect
  ask users [create-links-to min-n-of (random count objects) objects [distance myself]]
end 

to lay
    repeat 50 [ layout-spring turtles links 0.2 5 1 ]
end 

There is only one version of this model, created over 7 years ago by Evgeny Patarakin.

Attached files

File Type Description Last updated
users-objects.png preview Preview for 'users-objects' over 7 years ago, by Evgeny Patarakin Download

This model does not have any ancestors.

Children:

Graph of models related to 'users-objects'