Computes gene freqencies.
# S3 method for BigBang
getFrequencies(o, filter="none", subset=TRUE, ...)
The BigBang
object can save information about solutions that did not reach the goalFitness
. filter=="solutions"
ensures that only chromosomes that reach the goalFitness
are considered. fitlter=="none"
take all chromosomes. filter=="nosolutions"
consider only no-solutions (for comparative purposes).
Second level of filter. subset
can be a vector specifying which filtered chromosomes are used. It can be a logical vector or a numeric vector (indexes in order given by $bestChromosomes
in BigBang
object variable).
Returns a list of components.
Current gene count.
Number of genes in new.
Number of chromosomes counted.
Decreasing order.
Rank (starting with maximum).
Goldberg, David E. 1989 Genetic Algorithms in Search, Optimization and Machine Learning. Addison-Wesley Pub. Co. ISBN: 0201157675
For more information see BigBang
.
*geneFrequency()
.