summary.rbga: R Based Genetic Algorithm Summary Function

Description Usage Arguments Examples

View source: R/summary.rbga.R

Description

Summarizes the genetic algorithm results.

Usage

1
2
## S3 method for class 'rbga'
summary(object, echo=FALSE, ...)

Arguments

object

a rbga object.

echo

if true, the summary will be printed to STDOUT as well as returned.

...

other options (ignored)

Examples

1
2
3
4
5
6
7
8
9
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)

Example output



genalg documentation built on May 2, 2019, 1:33 p.m.

Related to summary.rbga in genalg...