Permutation Generator Function
Returns a function that generates random permutations of length N. Can be used to generate individual solutions for permutation problems, e.g., Travelling Salesperson Problem
solutionFunctionGeneratorPermutation(N)
N |
length of the permutations returned |
returns a function, without any arguments
fun <- solutionFunctionGeneratorPermutation(10) fun() fun() fun()
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.