Get the transformed fitness values

Share:

Description

Transform the given fitness values according tho the GenAlgEvaluator class

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
trueFitnessVal(object, fitness)

## S4 method for signature 'GenAlgPLSEvaluator,numeric'
trueFitnessVal(object, fitness)

## S4 method for signature 'GenAlgUserEvaluator,numeric'
trueFitnessVal(object, fitness)

## S4 method for signature 'GenAlgLMEvaluator,numeric'
trueFitnessVal(object, fitness)

## S4 method for signature 'GenAlgFitEvaluator,numeric'
trueFitnessVal(object, fitness)

Arguments

object

The used evaluator, an object with type or with a subtype of GenAlgEvaluator

fitness

A numeric vector of fitnesses

Details

This method is used to calculate the true fitness given the GenAlgEvaluator class (as they use different internal fitness measures)

Value

A vector with the true fitness values