summary.rbga | R Documentation |
Summarizes the genetic algorithm results.
## S3 method for class 'rbga' summary(object, echo=FALSE, ...)
object |
a rbga object. |
echo |
if true, the summary will be printed to STDOUT as well as returned. |
... |
other options (ignored) |
evaluate <- function(string=c()) { returnVal = 1 / sum(string); returnVal } rbga.results = rbga.bin(size=10, mutationChance=0.01, zeroToOneRatio=0.5, evalFunc=evaluate) summary(rbga.results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.