trueFitnessVal-methods: Get the transformed fitness values

trueFitnessValR 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


gaselect documentation built on Feb. 16, 2023, 6:14 p.m.