powered by
This function is a C++ wrapper for mutating byte representation of a given candidate solution
ByteCodeMutationUsingDoubles(d, pmutation)
Double vector of mutated solution
A vector of doubles
Probability of mutation
Mehmet Hakan Satman - mhsatman@istanbul.edu.tr
ByteCodeMutation
set.seed(1246) print(pi) print(exp(1)) new.var <- ByteCodeMutationUsingDoubles(c(pi, exp(1)), 0.10) print(new.var)
Run the code above in your browser using DataLab