xegaGaGeneMapPerm {xegaGaGene} | R Documentation |
xegaGaGeneMapPerm
maps the bit strings of a binary string
to a permutation of integers.
Example: Traveling Salesman Problem (TSP).
xegaGaGeneMapPerm(gene, penv)
gene |
A binary gene (the genotype). |
penv |
A problem environment. |
A permutation (the decoded gene (the phenotype))
Other Decoder:
xegaGaDecodeGene()
,
xegaGaGeneMapGray()
,
xegaGaGeneMapIdentity()
,
xegaGaGeneMap()
gene<-xegaGaInitGene(lFxegaGaGene)
xegaGaGeneMapPerm(gene$gene1, lFxegaGaGene$penv)