|
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.FitnessFunction
gov.nasa.javaGenes.graph.ExtendedTypeSimilarity
a fitness function consisting of the Tanimoto distance to a target. Each graph is located in space by the extended types of its vertices.
Vertex
,
Vertex.getExtendedTypeString()
,
Vertex.getExtendedTypeObject()
,
Tanimoto
,
Serialized FormField Summary | |
protected Graph |
target
|
Fields inherited from class gov.nasa.javaGenes.core.FitnessFunction |
name |
Constructor Summary | |
ExtendedTypeSimilarity(Graph graph)
|
Method Summary | |
Fitness |
evaluateFitness(Evolvable evolvable)
|
void |
makeFiles()
create a mol file of the target. |
java.lang.String |
toString()
|
Methods inherited from class gov.nasa.javaGenes.core.FitnessFunction |
bestDouble, getFunction, getName, getNameArray, isNewFunction, numberOfObjectives, report, setName, worstDouble |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected Graph target
Constructor Detail |
public ExtendedTypeSimilarity(Graph graph)
graph
- the targetMethod Detail |
public Fitness evaluateFitness(Evolvable evolvable)
evaluateFitness
in class FitnessFunction
public java.lang.String toString()
public void makeFiles()
makeFiles
in class FitnessFunction
|
JavaGenes, NASA Ames. Written largely by Al Globus | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |