JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.javaGenes.chemistry
Class MoleculeTwoVertexCrossover

java.lang.Object
  extended bygov.nasa.javaGenes.core.ChildMaker
      extended bygov.nasa.javaGenes.graph.TwoVertexGraphCrossover
          extended bygov.nasa.javaGenes.chemistry.MoleculeTwoVertexCrossover
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class MoleculeTwoVertexCrossover
extends TwoVertexGraphCrossover

Implement the molecule specific part of the crossover operator described in "JavaGenes: Evolving Graphs with Crossover," Al Globus, Sean Atsatt, John Lawton, Todd Wipke.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class gov.nasa.javaGenes.core.ChildMaker
cumulative, forEvolution, last
 
Constructor Summary
MoleculeTwoVertexCrossover()
           
 
Method Summary
 void processInitialBrokenEdge(Graph g, BrokenEdge b1, BrokenGraph second)
          find and connect a second broken edge
 
Methods inherited from class gov.nasa.javaGenes.graph.TwoVertexGraphCrossover
crossover, getVerticesForDivision, isRequired, makeChildren, numberOfParents, randomDivision, randomMerge
 
Methods inherited from class gov.nasa.javaGenes.core.ChildMaker
checkLastResults, checkResults, clearLast, getAndClearLastTabSeparatedResults, getFitnessFunctionNames, getLastTabSeparatedResults, headerFragment, makeChildren, mutate, neverUsed, proportionDown, results, setFitnessFunction, setFitnessFunctionNames, subClassMeasures, tabSeparatedResults, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MoleculeTwoVertexCrossover

public MoleculeTwoVertexCrossover()
Method Detail

processInitialBrokenEdge

public void processInitialBrokenEdge(Graph g,
                                     BrokenEdge b1,
                                     BrokenGraph second)
find and connect a second broken edge

Specified by:
processInitialBrokenEdge in class TwoVertexGraphCrossover
Parameters:
b1 - the first broken edge to be connected
g - graph being created
second - graph from which the second broken edge must come

JavaGenes, NASA Ames. Written largely by Al Globus