powered by
xegaGaGeneMapPerm() maps the bit strings of a binary string to a permutation of integers. Example: Traveling Salesman Problem (TSP).
xegaGaGeneMapPerm()
xegaGaGeneMapPerm(gene, penv)
A permutation (the decoded gene (the phenotype))
A binary gene (the genotype).
A problem environment.
Other Decoder: xegaGaDecodeGene(), xegaGaGeneMap(), xegaGaGeneMapGray(), xegaGaGeneMapIdentity()
xegaGaDecodeGene()
xegaGaGeneMap()
xegaGaGeneMapGray()
xegaGaGeneMapIdentity()
gene<-xegaGaInitGene(lFxegaGaGene) xegaGaGeneMapPerm(gene$gene1, lFxegaGaGene$penv)
Run the code above in your browser using DataLab