trueFitnessVal {gaselect}R Documentation

Get the transformed fitness values

Description

Transform the given fitness values according tho the GenAlgEvaluator class

Usage

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


[Package gaselect version 1.0.22 Index]