com.rapidminer.tools.math.optimization.ec.pso
Class Population
java.lang.Object
com.rapidminer.tools.math.optimization.ec.pso.Population
public class Population
- extends java.lang.Object
This object stores for each individual index the current values and the best
value for the individual so far. It also stores the fitness of the best
values ever and the corresponding values.
- Author:
- Ingo Mierswa
|
Constructor Summary |
Population(int popSize,
int individualSize)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Population
public Population(int popSize,
int individualSize)
getNumberOfIndividuals
public int getNumberOfIndividuals()
getIndividualSize
public int getIndividualSize()
getValues
public double[] getValues(int index)
getLocalBestValues
public double[] getLocalBestValues(int index)
getGlobalBestValues
public double[] getGlobalBestValues()
getBestFitnessEver
public double getBestFitnessEver()
getBestPerformanceEver
public PerformanceVector getBestPerformanceEver()
getBestFitnessInGeneration
public double getBestFitnessInGeneration()
setValues
public void setValues(int index,
double[] values)
getGeneration
public int getGeneration()
nextGeneration
public void nextGeneration()
getGenerationsWithoutImprovement
public int getGenerationsWithoutImprovement()
setFitnessVector
public void setFitnessVector(PerformanceVector[] performanceVectors)
Copyright © 2001-2009 by Rapid-I