Package: mcga 3.0.7
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.7.tar.gz
mcga_3.0.7.zip(r-4.5)mcga_3.0.7.zip(r-4.4)mcga_3.0.7.zip(r-4.3)
mcga_3.0.7.tgz(r-4.4-x86_64)mcga_3.0.7.tgz(r-4.4-arm64)mcga_3.0.7.tgz(r-4.3-x86_64)mcga_3.0.7.tgz(r-4.3-arm64)
mcga_3.0.7.tar.gz(r-4.5-noble)mcga_3.0.7.tar.gz(r-4.4-noble)
mcga_3.0.7.tgz(r-4.4-emscripten)mcga_3.0.7.tgz(r-4.3-emscripten)
mcga.pdf |mcga.html✨
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 12 months agofrom:e61a409f94. Checks:OK: 9. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 12 2024 |
R-4.5-win-x86_64 | OK | Nov 12 2024 |
R-4.5-linux-x86_64 | OK | Nov 12 2024 |
R-4.4-win-x86_64 | OK | Nov 12 2024 |
R-4.4-mac-x86_64 | OK | Nov 12 2024 |
R-4.4-mac-aarch64 | OK | Nov 12 2024 |
R-4.3-win-x86_64 | OK | Nov 12 2024 |
R-4.3-mac-x86_64 | OK | Nov 12 2024 |
R-4.3-mac-aarch64 | OK | Nov 12 2024 |
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