ByteCodeMutationUsingDoubles: Mutation operator for byte representation of double values

Description Usage Arguments Value Author(s) See Also Examples

View source: R/RcppExports.R

Description

This function is a C++ wrapper for mutating byte representation of a given candidate solution

Usage

1

Arguments

d

A vector of doubles

pmutation

Probability of mutation

Value

Double vector of mutated solution

Author(s)

Mehmet Hakan Satman - [email protected]

See Also

ByteCodeMutation

Examples

1
2
3
4
5
set.seed(1246)
print(pi)
print(exp(1))
new.var <- ByteCodeMutationUsingDoubles(c(pi, exp(1)), 0.10)
print(new.var)

mcga documentation built on May 29, 2017, 9:01 p.m.