|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectiterator.AbstractIterator
iterator.AbstractOptimizer<T>
iterator.AbstractInitialSampleBasedOptimizer<T>
iterator.AbstractPopulationOptimizer<T>
iterator.BasicRealEncodedGA<BoundConstrainedProblem>
iterator.PCGA
public class PCGA
Prof Ilan Kroo's 'Politically Correct' GA: all population members are assured to have a mate. Not particularly politically incorrect to do otherwise, but still. This is a real-encoded GA with a single point crossover.
| Field Summary |
|---|
| Fields inherited from class iterator.BasicRealEncodedGA |
|---|
comparator, extrapolationFactor, interpolationFactor, xMutation |
| Fields inherited from class iterator.AbstractPopulationOptimizer |
|---|
currentBestG, lastBestG, nextBlock |
| Fields inherited from class iterator.AbstractInitialSampleBasedOptimizer |
|---|
uniform |
| Fields inherited from class iterator.AbstractOptimizer |
|---|
doubleFormat, funEvalCount, logWriter |
| Fields inherited from class iterator.AbstractIterator |
|---|
diagnosticString, iter |
| Constructor Summary | |
|---|---|
PCGA()
|
|
| Method Summary | |
|---|---|
protected cern.colt.matrix.DoubleMatrix2D |
computeNextPoints()
Computes the next set of candidate solutions. |
void |
init()
Initialization routine |
static void |
main(java.lang.String[] args)
Runs some test problem. |
void |
singleIteration()
This method is overriden here for this special implementation of PCGA, where generated offspring are immediately added to the eligible mating pool. |
| Methods inherited from class iterator.AbstractPopulationOptimizer |
|---|
evaluatePoints, getPopulationSize, setInitialSamples, setInitialSamples, setInitialSamples, setPopulationSize |
| Methods inherited from class iterator.AbstractInitialSampleBasedOptimizer |
|---|
getRandomSeed, makeInitialSamples, setRandomSeed |
| Methods inherited from class iterator.AbstractOptimizer |
|---|
clear, dataAdded, dataAdded, dataRemoved, dataRemoved, getDataHandler, getFunEvalCount, getLogFileName, getMaxFunEval, getProblem, isTerminated, iterate, setDataHandler, setFunEvalCount, setLogFileName, setMaxFunEval, setProblem, updateDiagnostics, writeInitialRunLog |
| Methods inherited from class iterator.AbstractIterator |
|---|
isVerbose, printDiagnostics, setVerbose |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface iterator.LoggableIterator |
|---|
getLogFileName, setLogFileName |
| Methods inherited from interface iterator.Iterable |
|---|
isTerminated, iterate |
| Constructor Detail |
|---|
public PCGA()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
args - None used.public void init()
Iterable
init in interface Iterableinit in class BasicRealEncodedGA<BoundConstrainedProblem>public void singleIteration()
singleIteration in interface IterablesingleIteration in class AbstractPopulationOptimizer<BoundConstrainedProblem>protected cern.colt.matrix.DoubleMatrix2D computeNextPoints()
AbstractPopulationOptimizer
computeNextPoints in class AbstractPopulationOptimizer<BoundConstrainedProblem>DoubleMatrix2D containing design points row-wise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||