We are given a grid of risks.
This thus becomes an optimisation problem, not really connected to criminology. I wonder if it has been studied in computer science?
We are given an assignment of risk to each edge of the network.
In either case, our goal is to find the selection of cells (or edges) which satisfies the above constraints, and subject to this constraint, maximises the sum of risks. This is probably computationally intractible, and so algorithms which get close to the maximum will be sought.
Grid based, will produce $\leq N$ hotspots of a certain total size $M$. Only constraint is that each "hotspot" is a connected collection of cells. Iterative:
Advantages:
Problems:
In [ ]: