Class GaaPopulation
java.lang.Object
|
+----GaaPopulation
- public class GaaPopulation
- extends Object
-
GaaPopulation(GaaProblem)
-
-
getDoublesMax(double[])
-
-
initPopulation()
-
-
kick()
-
-
newGeneration()
-
-
poplistTableKids()
-
-
poplistTableString()
-
-
processFitness()
-
-
processValue()
-
-
runEvolution(int)
-
-
sortChroms()
-
-
sortChroms(String[], double[], double[], boolean)
-
-
sortChromsByInsertion(String[], double[], boolean)
-
-
sortChromsByVals()
-
-
sortDoubles(double[], boolean)
-
-
sortKidsByVals()
-
-
updateMemory(int, int, char)
-
-
updateParams()
-
GaaPopulation
public GaaPopulation(GaaProblem pr)
updateParams
public void updateParams()
initPopulation
public void initPopulation()
runEvolution
public void runEvolution(int num)
newGeneration
public void newGeneration()
processFitness
public void processFitness()
processValue
public void processValue()
kick
public void kick()
sortChroms
public void sortChroms()
sortChromsByVals
public void sortChromsByVals()
sortKidsByVals
public void sortKidsByVals()
sortChroms
public void sortChroms(String list[],
double values[],
double secvals[],
boolean descending)
sortChromsByInsertion
public void sortChromsByInsertion(String list[],
double values[],
boolean descending)
sortDoubles
public void sortDoubles(double values[],
boolean descending)
getDoublesMax
public double getDoublesMax(double values[])
poplistTableString
public String poplistTableString()
poplistTableKids
public String poplistTableKids()
updateMemory
public void updateMemory(int num,
int pos,
char kar)