Each periodic system is represented by an ensemble of optimal element sequences (Methods 6.3), which correspond to the 15 best sequences obtained from a pool of 50 parallel optimisations. To compare periodic systems i and j in such a format, the average similarity between all (15×15 = 225) pairs of sequences in the corresponding ensembles is computed: