solutionFunctionGeneratorPermutation {CEGO} | R Documentation |
Permutation Generator Function
Description
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
Usage
solutionFunctionGeneratorPermutation(N)
Arguments
N |
length of the permutations returned |
Value
returns a function, without any arguments
Examples
fun <- solutionFunctionGeneratorPermutation(10)
fun()
fun()
fun()
[Package CEGO version 2.4.3 Index]