Table 1 Pseudocode for the box-counting approach for calculating fractal dimensions.

From: Agent-based analysis of contagion events according to sourcing locations