I am trying to extend the preferential attachment model that is in the model library of Netlogo to Bianconi-Barabasi model (https://en.wikipedia.org/wiki/Bianconi%E2%80%93Barab%C3%A1si_model), and I am stuck with how to do it. With the "newest" model in the model library, we have
to-report find-partner
report [one-of both-ends] of one-of links
end
and I understand how it causes the preferential attachment. But I do not know how to incorporate the "fitness" into this simple procedure.
Also, in the previous version of the preferential attachment model that was in the model library, we have
to-report find-partner
let total random-float sum [count link-neighbors] of turtles
let partner nobody
ask turtles
[
let nc count link-neighbors
;; if there's no winner yet...
if partner = nobody
[
ifelse nc > total
[ set partner self ]
[ set total total - nc ]
]
]
report partner
end
and I am again wondering how to incorporate the fitness into this procedure. I want to incorporate the fitness that comes from the exponential distribution with mean 1, so, let's say, do I multiply something like "let nc (count link-neighbors) * random-exponential 1?" Please let me know.