JAGA Homepage

org.jaga.masterAlgorithm
Class InitialPopulationGA

java.lang.Object
  extended by org.jaga.masterAlgorithm.SimpleGA
      extended by org.jaga.masterAlgorithm.ReusableSimpleGA
          extended by org.jaga.masterAlgorithm.ElitistGA
              extended by org.jaga.masterAlgorithm.InitialPopulationGA
All Implemented Interfaces:
GeneticAlgorithm

public class InitialPopulationGA
extends ElitistGA

TODO: Complete these comments.

Project: JAGA - Java API for Genetic Algorithms.

Company: University College London and JAGA.Org (http://www.jaga.org).

Copyright: (c) 2004 by G. Paperin.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, ONLY if you include a note of the original author(s) in any redistributed/modified copy.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see http://www.gnu.org/licenses/gpl.html

Version:
JAGA public release 1.0 beta
Author:
Greg Paperin (greg@jaga.org)

Field Summary
private  java.lang.Object[] initData
           
 
Constructor Summary
InitialPopulationGA()
           
InitialPopulationGA(double eliteProportion)
           
InitialPopulationGA(double eliteProportion, double badProportion)
           
InitialPopulationGA(GAParameterSet parameters, double eliteProportion)
           
InitialPopulationGA(GAParameterSet parameters, double eliteProportion, double badProportion)
           
InitialPopulationGA(java.lang.Object[] initData)
           
InitialPopulationGA(java.lang.Object[] initData, double eliteProportion)
           
InitialPopulationGA(java.lang.Object[] initData, double eliteProportion, double badProportion)
           
InitialPopulationGA(java.lang.Object[] initData, GAParameterSet parameters, double eliteProportion)
           
InitialPopulationGA(java.lang.Object[] initData, GAParameterSet parameters, double eliteProportion, double badProportion)
           
 
Method Summary
protected  Population createInitialPopulation(GAParameterSet params)
           
 void setInitialPopulation(java.lang.Object[] initData)
           
 
Methods inherited from class org.jaga.masterAlgorithm.ElitistGA
generateNextPopulation, getBadProportion, getEliteProportion, setBadProportion, setEliteProportion
 
Methods inherited from class org.jaga.masterAlgorithm.ReusableSimpleGA
exec
 
Methods inherited from class org.jaga.masterAlgorithm.SimpleGA
addHook, checkForBetterResult, createEmptyPopulation, createResult, exec, haveSex, notifyFoundNewResult, notifyGenerationChanged, notifyInitialisationDone, notifyReproduced, notifySelectedForReproduction, notifyTerminationConditionApplies, removeHook, selectForReproduction, terminationConditionApplies, updateFitnessCalculated, updateIndividualFitness
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

initData

private java.lang.Object[] initData
Constructor Detail

InitialPopulationGA

public InitialPopulationGA()

InitialPopulationGA

public InitialPopulationGA(double eliteProportion)

InitialPopulationGA

public InitialPopulationGA(double eliteProportion,
                           double badProportion)

InitialPopulationGA

public InitialPopulationGA(GAParameterSet parameters,
                           double eliteProportion)

InitialPopulationGA

public InitialPopulationGA(GAParameterSet parameters,
                           double eliteProportion,
                           double badProportion)

InitialPopulationGA

public InitialPopulationGA(java.lang.Object[] initData)

InitialPopulationGA

public InitialPopulationGA(java.lang.Object[] initData,
                           double eliteProportion)

InitialPopulationGA

public InitialPopulationGA(java.lang.Object[] initData,
                           double eliteProportion,
                           double badProportion)

InitialPopulationGA

public InitialPopulationGA(java.lang.Object[] initData,
                           GAParameterSet parameters,
                           double eliteProportion)

InitialPopulationGA

public InitialPopulationGA(java.lang.Object[] initData,
                           GAParameterSet parameters,
                           double eliteProportion,
                           double badProportion)
Method Detail

setInitialPopulation

public void setInitialPopulation(java.lang.Object[] initData)

createInitialPopulation

protected Population createInitialPopulation(GAParameterSet params)
Overrides:
createInitialPopulation in class SimpleGA

JAGA Homepage

Go to JAGA Homepage