Crecombination: Recombination of the sets of parameters

View source: R/Crecombination.R

CrecombinationR Documentation

Recombination of the sets of parameters

Description

performs a recombination of the sets of parameters

Usage

Crecombination(param, blocks, n)

Arguments

param

: matrix [ . , NPar ] of the population of parameters

blocks

: list of integer vectors: list of variable blocks for recombination

n

: number of new vectors to generate

Value

xnew : matrix [ n , NPar ] of new vectors

Author(s)

Fabrice Zaoui

Examples

# Definition of the parameters
param <- matrix(rexp(15), 15, 1)
blocks <- NULL
n <- 5
# Call the function
res <- Crecombination(param, blocks, n)


caRamel documentation built on Sept. 11, 2024, 7:01 p.m.