Learn R Programming

evoper (version 0.5.0)

getFitness: getFitness

Description

Given a set S of N solutions created with sortSolution, this function returns the solution component fot the best solution.

Usage

getFitness(S, i = NULL)

Arguments

S

The solution set

i

The fitness index, if null return the whole column.

Value

The selected fitness entry