public PivotSelectorRandom(int n, Random rand = null) { this.permutation = RandomSets.GetRandomPermutation (n, rand); }