UniformCrossOver | R Documentation |
This function is a C++ wrapper for crossing-over of two byte vectors of candidate solutions
UniformCrossOver(bytes1, bytes2)
bytes1 |
A vector of bytes of the first parent |
bytes2 |
A vector of bytes of the second parent |
List of two byte vectors of offspring
Mehmet Hakan Satman - mhsatman@istanbul.edu.tr
OnePointCrossOver
UniformCrossOverOnDoublesUsingBytes
b1 <- DoubleVectorToBytes(c(56.54, 89.7666, 98.565))
b2 <- DoubleVectorToBytes(c(79.76, 56.4443, 34.22121))
result <- UniformCrossOver(b1,b2)
print(ByteVectorToDoubles(result[[1]]))
print(ByteVectorToDoubles(result[[2]]))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.