|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dishevelled.evolve.fitness.UniformFitness<I>
I - individual typepublic final class UniformFitness<I>
Uniform fitness function.
| Field Summary | |
|---|---|
(package private) static double |
DEFAULT_SCORE
Default score, 1.0d. |
| Constructor Summary | |
|---|---|
UniformFitness()
Create a new uniform fitness function with the default score of 1.0d. |
|
UniformFitness(double score)
Create a new uniform fitness function with the specified score. |
|
| Method Summary | |
|---|---|
Double |
score(I individual)
Return a measure of fitness for the specified individual. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final double DEFAULT_SCORE
1.0d.
| Constructor Detail |
|---|
public UniformFitness()
1.0d.
public UniformFitness(double score)
score - uniform fitness score| Method Detail |
|---|
public Double score(I individual)
score in interface Fitness<I>individual - individual
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||