solutionFunctionGeneratorPermutation: Permutation Generator Function

Description Usage Arguments Value Examples

View source: R/permutationOperators.R

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

1

Arguments

N

length of the permutations returned

Value

returns a function, without any arguments

Examples

1
2
3
4
fun <- solutionFunctionGeneratorPermutation(10)
fun()
fun()
fun()

CEGO documentation built on May 14, 2021, 1:08 a.m.