xegaDfReplicationFactory {xegaDfGene} | R Documentation |
ReplicationFactory
implements the selection
of a replication method.
Current support:
"DE" returns ReplicateGeneDE
.
xegaDfReplicationFactory(method = "DE")
method |
A string specifying the replication function. |
A replication function for genes.
Other Configuration:
lFxegaDfGene
,
xegaDfCrossoverFactory()
,
xegaDfGeneMapFactory()
,
xegaDfMutationFactory()
,
xegaDfScaleFactorFactory()
pop10<-lapply(rep(0,10), function(x) xegaDfInitGene(lFxegaDfGene))
epop10<-lapply(pop10, lFxegaDfGene$EvalGene, lF=lFxegaDfGene)
fit10<-unlist(lapply(epop10, function(x) {x$fit}))
Replicate<-xegaDfReplicationFactory("DE")
newgenes2<-Replicate(pop10, fit10, lFxegaDfGene)