Basic examples of nested sampling.
Simple one-dimensional integral, based on J. Skilling, "Nested sampling for general Bayesian computation", Bayesian analysis, 1 (2006), 833-859.
Naive implementation of nested sampling for (a few) hard disks, following L. B. P., A. P. Bartók, and G. Csányi, "Nested sampling for materials: The case of hard spheres", Phys. Rev. E 89 (2014), 022302.