|
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.CyclesSimilarity
fitness function that compares the number of cycles in an individual with the number of cycles in a target using the Tanimoto coefficient.
Tanimoto
,
Graph
,
Serialized FormField Summary | |
protected Graph |
target
the target graph against which Individuals will be measured |
Fields inherited from class gov.nasa.javaGenes.core.FitnessFunction |
name |
Constructor Summary | |
CyclesSimilarity(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 CyclesSimilarity(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 |