eaLib API Docs
Last Modified : January 7 2002

mss.ea.eval
Class NonLinearRankingScaling

java.lang.Object
  |
  +--mss.ea.core.GeneticOperator
        |
        +--mss.ea.eval.FitnessScaling
              |
              +--mss.ea.eval.NonLinearRankingScaling
All Implemented Interfaces:
SingleStreamProcessor, StreamProcessor

public class NonLinearRankingScaling
extends FitnessScaling

Nonlinear fitness scaling based on rank of individual. Die Skalierung wird in der Form Fitness(pos) = (n * x^(pos - 1)) / (sum(i=1..n) x^(i-1)) berechnet. x ergibt sich aus der Lösung des Polynoms Dabei sind : sp - Selektionsdruck, pos - Position (Rang) des Individuums, n - Populationsgröße Als Randbedingung gilt weiterhin Position(bestes Individuum) = n und Position(bestes Individuum) = 1.


Fields inherited from class mss.ea.core.GeneticOperator
description, ID, name
 
Constructor Summary
NonLinearRankingScaling()
           
 
Method Summary
 Fitness evaluate(Individual ind)
          Evaluates the fitness of an individual.
 
Methods inherited from class mss.ea.eval.FitnessScaling
process
 
Methods inherited from class mss.ea.core.GeneticOperator
getDescription, getID, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface mss.ea.core.StreamProcessor
getName
 

Constructor Detail

NonLinearRankingScaling

public NonLinearRankingScaling()
Method Detail

evaluate

public Fitness evaluate(Individual ind)
Description copied from class: FitnessScaling
Evaluates the fitness of an individual. The fitness could be calculated based on the parameters of the individual or it's ranking inside the population or based on other factors. This method must not append the fitness to the individual, this is already done by the process methods.
Overrides:
evaluate in class FitnessScaling
Following copied from class: mss.ea.eval.FitnessScaling
Parameters:
i - individual for evaluation
Returns:
fitness of the individual
Throws:
FitnessScalingException - in case the evaluation fails

eaLib API Docs
Last Modified : January 7 2002

Copyright © 2000-2001 Technical University of Ilmenau, Department ESS