public static TranslocationMove[] Apply(Permutation permutation, IRandom random, int sampleSize) { int length = permutation.Length; TranslocationMove[] moves = new TranslocationMove[sampleSize]; for (int i = 0; i < sampleSize; i++) { moves[i] = StochasticTranslocationSingleMoveGenerator.Apply(permutation, random); } return(moves); }
protected StochasticTranslocationSingleMoveGenerator(StochasticTranslocationSingleMoveGenerator original, Cloner cloner) : base(original, cloner) { }