Learn R Programming

CEGO (version 2.0.0)

solutionFunctionGeneratorPermutation: 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