Cognitive Science and the New Testament A New Approach to Early Christian Research

(Axel Boer) #1

set pcolor apostle-color ; the converted household becomes inactive
(otherwise two followers would be created)
sprout-apostles 1 [ ; a new turtle is created and its attributes are set
set color apostle-color
set heading random 360
set size 2
]
]
[
set pcolor follower-color ; if no apostle was generated, the household
becomes“follower”
]
end ; end of the“convert”procedure
to update-plot ; procedure to update the plot diagram
set-current-plot-pen“number-of-followers”
plot ( count patches with [ pcolor = follower-color ] )
end


Figure 9.4.The NetLogo code of the“Mission”model.

Social Networks and Computer Models 205
Free download pdf