|
JavaGenes, NASA Ames. Written largely by Al Globus | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.javaGenes.core.ChildMaker
gov.nasa.javaGenes.graph.GraphMutation
gov.nasa.javaGenes.graph.MutateEdge
mutate an edge
Field Summary | |
protected VertexAndEdgeProvider |
provider
provides the edges to mutate to |
Fields inherited from class gov.nasa.javaGenes.core.ChildMaker |
cumulative, forEvolution, last |
Constructor Summary | |
MutateEdge(VertexAndEdgeProvider p)
|
Method Summary | |
Graph |
makeChild(Graph child)
|
Evolvable[] |
makeChildren(Evolvable[] parents)
Defaults to mutation, any subclass wanting more than one parent must over-ride. |
int |
numberOfParents()
|
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 |
Field Detail |
protected VertexAndEdgeProvider provider
Constructor Detail |
public MutateEdge(VertexAndEdgeProvider p)
Method Detail |
public Graph makeChild(Graph child)
public int numberOfParents()
numberOfParents
in class ChildMaker
public Evolvable[] makeChildren(Evolvable[] parents)
ChildMaker
makeChildren
in class ChildMaker
parents
- the evolvables from which children will be created. By convention, the parents are not modified.
|
JavaGenes, NASA Ames. Written largely by Al Globus | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |