Last data update: 2014.03.03


Package: mcga
Type: Package
Title: Machine Coded Genetic Algorithms for Real-Valued Optimization
Version: 3.0.1
Date: 2016-05-12
Author: Mehmet Hakan Satman
Maintainer: Mehmet Hakan Satman <>
Description: 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
License: GPL (>= 2)
Depends: GA
Imports: Rcpp (>= 0.11.4)
LinkingTo: Rcpp
NeedsCompilation: yes
LazyLoad: yes
Repository: CRAN
Date/Publication: 2016-05-12 16:24:50
Packaged: 2016-05-12 13:28:39 UTC; hako
RoxygenNote: 5.0.1

● Cran Task View: Optimization
● 0 images, 36 functions, 0 datasets
● Reverse Depends: 0

Install log

* installing to library '/home/ddbj/local/lib64/R/library'
* installing *source* package 'mcga' ...
** package 'mcga' successfully unpacked and MD5 sums checked
** libs
g++ -I/home/ddbj/local/lib64/R/include -DNDEBUG  -I/usr/local/include -I"/home/ddbj/local/lib64/R/library/Rcpp/include"   -fpic  -g -O2  -c RcppExports.cpp -o RcppExports.o
gcc -I/home/ddbj/local/lib64/R/include -DNDEBUG  -I/usr/local/include -I"/home/ddbj/local/lib64/R/library/Rcpp/include"   -fpic  -g -O2  -c mcga.c -o mcga.o
gcc -I/home/ddbj/local/lib64/R/include -DNDEBUG  -I/usr/local/include -I"/home/ddbj/local/lib64/R/library/Rcpp/include"   -fpic  -g -O2  -c multi_mcga.c -o multi_mcga.o
gcc -I/home/ddbj/local/lib64/R/include -DNDEBUG  -I/usr/local/include -I"/home/ddbj/local/lib64/R/library/Rcpp/include"   -fpic  -g -O2  -c rwrapper.c -o rwrapper.o
g++ -I/home/ddbj/local/lib64/R/include -DNDEBUG  -I/usr/local/include -I"/home/ddbj/local/lib64/R/library/Rcpp/include"   -fpic  -g -O2  -c typeconversations.cpp -o typeconversations.o
g++ -shared -L/home/ddbj/local/lib64/R/lib -L/usr/local/lib64 -o RcppExports.o mcga.o multi_mcga.o rwrapper.o typeconversations.o -L/home/ddbj/local/lib64/R/lib -lR
installing to /home/ddbj/local/lib64/R/library/mcga/libs
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
  converting help for package 'mcga'
    finding HTML links ... done
    ByteCodeMutation                        html  
    ByteCodeMutationUsingDoubles            html  
    ByteCodeMutationUsingDoublesRandom      html  
    ByteVectorToDoubles                     html  
    BytesToDouble                           html  
    DoubleToBytes                           html  
    DoubleVectorToBytes                     html  
    EnsureBounds                            html  
    MaxDouble                               html  
    OnePointCrossOver                       html  
    OnePointCrossOverOnDoublesUsingBytes    html  
    SizeOfDouble                            html  
    SizeOfInt                               html  
    SizeOfLong                              html  
    TwoPointCrossOver                       html  
    TwoPointCrossOverOnDoublesUsingBytes    html  
    UniformCrossOver                        html  
    UniformCrossOverOnDoublesUsingBytes     html  
    arithmetic_crossover                    html  
    blx_crossover                           html  
    byte_crossover                          html  
    byte_crossover_1p                       html  
    byte_crossover_2p                       html  
    byte_mutation                           html  
    byte_mutation_dynamic                   html  
    byte_mutation_random                    html  
    byte_mutation_random_dynamic            html  
    flat_crossover                          html  
    linear_crossover                        html  
    mcga-internal                           html  
    mcga-package                            html  
    mcga                                    html  
    mcga2                                   html  
    multi_mcga                              html  
    sbx_crossover                           html  
    unfair_average_crossover                html  
** building package indices
** testing if installed package can be loaded
* DONE (mcga)
Making 'packages.html' ... done