|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Fitness
Interface for Fitness. Contains methods for getting and setting the max and min fitness measurements for Integer and Double types.
Method Summary | |
---|---|
double |
getDouble()
|
Individual |
getIndividual()
Get the individual that is refered to by the fitness |
int |
getInt()
|
double |
getMaxDoubleFitness()
|
int |
getMaxIntFitness()
|
double |
getMinDoubleFitness()
|
int |
getMinIntFitness()
|
void |
setDefault()
Set the default value of fitness. |
void |
setDouble(double f)
|
void |
setIndividual(Individual i)
Set individual to which the fitness belongs |
void |
setInt(int f)
|
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
Individual getIndividual()
void setIndividual(Individual i)
i
- individual to which the fitness belongsdouble getDouble()
void setDouble(double f)
int getInt()
void setInt(int f)
double getMaxDoubleFitness()
double getMinDoubleFitness()
int getMaxIntFitness()
int getMinIntFitness()
void setDefault()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |