addMutator: Adds a mutation operator to a collection.

Description Usage Arguments Value

View source: R/collection.R

Description

Adds a mutation operator to a collection.

Usage

1
addMutator(collection, fun, ...)

Arguments

collection

[tspgen_collection]
Collection of mutation operators.

fun

[character(1)]
Function name of mutation operator which should be added to collection provided as a string.

...

[any]
Parameters for fun. See the documentation of the corresponding mutation operator for details.

Value

[tspgen_collection] Augmented mutation operator collection.


jakobbossek/tspgen documentation built on July 3, 2021, 12:01 p.m.