JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.javaGenes.chemistry
Class MoleculeIndividual

java.lang.Object
  extended bygov.nasa.javaGenes.core.Individual
      extended bygov.nasa.javaGenes.graph.GraphIndividual
          extended bygov.nasa.javaGenes.chemistry.MoleculeIndividual
All Implemented Interfaces:
java.io.Serializable

public class MoleculeIndividual
extends GraphIndividual

represents an individual molecule

See Also:
Serialized Form

Field Summary
 
Fields inherited from class gov.nasa.javaGenes.core.Individual
evolvable, fitness
 
Constructor Summary
MoleculeIndividual(Evolvable e, FitnessFunction f)
           
 
Method Summary
 Molecule getMolecule()
           
 
Methods inherited from class gov.nasa.javaGenes.graph.GraphIndividual
getGraph
 
Methods inherited from class gov.nasa.javaGenes.core.Individual
bestIndividualIndex, evaluateFitness, evolvableSize, fitterThan, getEvolvable, getFitness, headerString, isCompatible, isSame, stateSave, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MoleculeIndividual

public MoleculeIndividual(Evolvable e,
                          FitnessFunction f)
Method Detail

getMolecule

public Molecule getMolecule()
Returns:
the evolvable as a Molecule

JavaGenes, NASA Ames. Written largely by Al Globus