Learn R Programming

mcMST (version 1.0.1)

mutUniformPruefer: Uniform mutation for Pruefer code representation.

Description

mutUniformPruefer replaces each component of a Pruefer code of length n - 2 with probability p with a random node number between 1 and n.

Usage

mutUniformPruefer(ind, p = 1/length(ind))

Value

[integer] Mutated Pruefer code.

Arguments

ind

[integer]
Pruefer code.

p

[numeric(1)]
Probability of mutation of each component of ind. Default is 1 / length(ind).

See Also

Evolutionary multi-objective algorithm mcMSTEmoaZhou

Other mcMST EMOA mutators: mutEdgeExchange, mutSubgraphMST