JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.javaGenes.chemistry
Class MoleculePopulation

java.lang.Object
  extended bygov.nasa.javaGenes.core.Population
      extended bygov.nasa.javaGenes.graph.GraphPopulation
          extended bygov.nasa.javaGenes.chemistry.MoleculePopulation
All Implemented Interfaces:
java.io.Serializable

public class MoleculePopulation
extends GraphPopulation

See Also:
Serialized Form

Field Summary
 
Fields inherited from class gov.nasa.javaGenes.core.Population
generation, memory, population, time
 
Constructor Summary
protected MoleculePopulation(int size)
          create an empty population with int size members
  MoleculePopulation(MoleculeParameters parameters)
          create a random population of molecules
 
Method Summary
 Individual makeIndividual(Evolvable e, FitnessFunction f)
          Meant to be a general purpose method that creates individuals of whatever type are in this population.
 Population makePopulation(int size)
           
 
Methods inherited from class gov.nasa.javaGenes.graph.GraphPopulation
fillSamples
 
Methods inherited from class gov.nasa.javaGenes.core.Population
averageFitness, bestFitness, bestIndividual, bestIndividualIndex, countParts, evaluateFitness, fillEntropy, getEvolvable, getEvolvableHeader, getFitness, getGeneration, getIndex, getIndexRange, getIndividual, getLastIndex, getLogHeaderString, getLogString, getMemory, getParetoFront, getSize, getStandarPartOfLogHeaderString, getTime, getUniqueLogValue, getUniqueLogValueHeader, isDuplicate, isIndexLegal, makeIndividualArray, pick, pick, pick, report, retestStudents, setGeneration, setIndividual, setMemory, setTime, stateRestore, stateSave, totalEvolvableSize, worstFitness, worstFitness, worstIndividual, worstIndividual, worstIndividualIndex, worstIndividualIndex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoleculePopulation

public MoleculePopulation(MoleculeParameters parameters)
create a random population of molecules


MoleculePopulation

protected MoleculePopulation(int size)
create an empty population with int size members

Method Detail

makePopulation

public Population makePopulation(int size)
Overrides:
makePopulation in class GraphPopulation
Returns:
a new empty population with int size members

makeIndividual

public Individual makeIndividual(Evolvable e,
                                 FitnessFunction f)
Description copied from class: Population
Meant to be a general purpose method that creates individuals of whatever type are in this population. Must be rewritten to actually do that.

Overrides:
makeIndividual in class GraphPopulation
Returns:
a MoleculeIndividual

JavaGenes, NASA Ames. Written largely by Al Globus