Learn R Programming

adana (version 1.1.0)

adana2: Adaptive Dynamic Algorithm (Adana 2)

Description

Adana-2 is an adaptation function that calculates the mutation rates to be applied in generations by square root modeling (Cebeci, 2021).

Usage

adana2(g, gmax, ...)

Arguments

g

Current generation

gmax

Maximum generation

Further arguments passed to or from other methods.

Value

pc

Crossover rate

pm

Mutation rate

References

Cebeci, Z. (2021). R ile Genetik Algoritmalar ve Optimizasyon Uygulamalari, 535 p. Ankara:Nobel Akademik Yayincilik.

See Also

fixpcmut, ilmdhc, adana1, leitingzhi, adana3

Examples

Run this code
# NOT RUN {
gmax <- 1000
g <- c(1, 10, 50, 100, 250, 500, 750, gmax)
adana1(g=g, gmax=gmax)
# }

Run the code above in your browser using DataLab