Generate random surrogate weighted networks that preserve the effect of distance on the weights.
Roberts JA, Perry A, Lord AR, Roberts G, Mitchell PB, Smith RE, Calamante F, Breakspear M (2016). The contribution of geometry to the human connectome. NeuroImage 124: 379-393.