Child of users-objects

No preview image

1 collaborator

Patarakin_m Evgeny Patarakin (Author)

Tags

(This model has yet to be categorized with any tags)
Child of model users-objects preview imageusers-objects
Visible to everyone | Changeable by everyone
Model was written in NetLogo 5.0.4 • Viewed 205 times • Downloaded 13 times • Run 0 times
Download the 'Child of 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 10 years ago by Evgeny Patarakin.

Attached files

No files

Parent: users-objects

This model does not have any descendants.

Graph of models related to 'Child of users-objects'