Code
You can download 2 source code archives:
- The Python source code and datasets that have been used to produce the figures in the book as well as color figures and the correesponding code.
- The Python source code for the analysis of the total cost and distribution or rewards, and for the Zipf law best fitting of observed access data.
The code above is kept here for historical documentation. For the most important code (estimate of best-fitting Zipf's law for an observed access, you can download the python code updated in 2020 (the only changes regard corrected calls to python modules).
The source code is licensed under the GPLv3 license. For the datasets, see terms in the datasets page.