ByteCodeMutationUsingDoubles | R Documentation |
This function is a C++ wrapper for mutating byte representation of a given candidate solution
ByteCodeMutationUsingDoubles(d, pmutation)
d |
A vector of doubles |
pmutation |
Probability of mutation |
Double vector of mutated solution
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.