String Generator Function
Returns a function that generates random strings of length N, with given letters. Can be used to generate individual solutions for permutation problems, e.g., Travelling Salesperson Problem
solutionFunctionGeneratorString(N, lts = c("A", "C", "G", "T"))
N |
length of the permutations returned |
lts |
letters allowed in the string |
returns a function, without any arguments
fun <- solutionFunctionGeneratorString(10,c("A","C","G","T")) fun() fun() fun()
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.