Package: mcga 3.0.9
mcga: Machine Coded Genetic Algorithms for Real-Valued Optimization Problems
Machine coded genetic algorithm (MCGA) is a fast tool for real-valued optimization problems. It uses the byte representation of variables rather than real-values. It performs the classical crossover operations (uniform) on these byte representations. Mutation operator is also similar to classical mutation operator, which is to say, it changes a randomly selected byte value of a chromosome by +1 or -1 with probability 1/2. In MCGAs there is no need for encoding-decoding process and the classical operators are directly applicable on real-values. It is fast and can handle a wide range of a search space with high precision. Using a 256-unary alphabet is the main disadvantage of this algorithm but a moderate size population is convenient for many problems. Package also includes multi_mcga function for multi objective optimization problems. This function sorts the chromosomes using their ranks calculated from the non-dominated sorting algorithm.
Authors:
mcga_3.0.9.tar.gz
mcga_3.0.9.zip(r-4.7)mcga_3.0.9.zip(r-4.6)mcga_3.0.9.zip(r-4.5)
mcga_3.0.9.tgz(r-4.6-x86_64)mcga_3.0.9.tgz(r-4.6-arm64)mcga_3.0.9.tgz(r-4.5-x86_64)mcga_3.0.9.tgz(r-4.5-arm64)
mcga_3.0.9.tar.gz(r-4.7-arm64)mcga_3.0.9.tar.gz(r-4.7-x86_64)mcga_3.0.9.tar.gz(r-4.6-arm64)mcga_3.0.9.tar.gz(r-4.6-x86_64)
mcga_3.0.9.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
mcga/json (API)
| # Install 'mcga' in R: |
| install.packages('mcga', repos = c('https://jbytecode.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/jbytecode/mcga/issues
Last updated from:beaf0ef94d. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 157 | ||
| linux-devel-x86_64 | OK | 113 | ||
| source / vignettes | OK | 233 | ||
| linux-release-arm64 | OK | 154 | ||
| linux-release-x86_64 | OK | 114 | ||
| macos-release-arm64 | OK | 134 | ||
| macos-release-x86_64 | OK | 421 | ||
| macos-oldrel-arm64 | OK | 180 | ||
| macos-oldrel-x86_64 | OK | 276 | ||
| windows-devel | OK | 119 | ||
| windows-release | OK | 133 | ||
| windows-oldrel | OK | 101 | ||
| wasm-release | OK | 86 |
Exports:arithmetic_crossoverblx_crossoverbyte_crossoverbyte_crossover_1pbyte_crossover_2pbyte_mutationbyte_mutation_dynamicbyte_mutation_randombyte_mutation_random_dynamicByteCodeMutationByteCodeMutationUsingDoublesByteCodeMutationUsingDoublesRandomBytesToDoubleByteVectorToDoublesDoubleToBytesDoubleVectorToBytesEnsureBoundsflat_crossoverlinear_crossoverMaxDoublemcgamcga2multi_mcgaOnePointCrossOverOnePointCrossOverOnDoublesUsingBytessbx_crossoverSizeOfDoubleSizeOfIntSizeOfLongTwoPointCrossOverTwoPointCrossOverOnDoublesUsingBytesunfair_average_crossoverUniformCrossOverUniformCrossOverOnDoublesUsingBytes
Dependencies:clicodetoolscrayonforeachGAiteratorsRcppRcppArmadillo
