xegaGaGeneMapIdentity {xegaGaGene} | R Documentation |
Map the bit strings of a binary gene to an identical bit vector.
Description
xegaGaGenemapIdentity
maps the bit strings
of a binary vector
to an identical binary vector.
Faster for all problems with single-bit coding.
Examples: Knapsack, Number Partitioning into 2 partitions.
Usage
xegaGaGeneMapIdentity(gene, penv)
Arguments
gene |
A binary gene (the genotype). |
penv |
A problem environment. |
Value
The decoded gene (the phenotype).
See Also
Other Decoder:
xegaGaDecodeGene()
,
xegaGaGeneMapGray()
,
xegaGaGeneMapPerm()
,
xegaGaGeneMap()
Examples
gene<-xegaGaInitGene(lFxegaGaGene)
xegaGaGeneMapIdentity(gene$gene1, lFxegaGaGene$penv)
[Package xegaGaGene version 1.0.0.1 Index]