|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectOperator.Operations.FitnessEvaluationOperation
public class FitnessEvaluationOperation
Operation for evaluating the fitness. Has a FitnessFunction. Map the individual. If vallid evaluate. Set fitness.
| Constructor Summary | |
|---|---|
FitnessEvaluationOperation(FitnessFunction ff)
Creates a new instance of FitnessEvaluationOperation |
|
| Method Summary | |
|---|---|
void |
doOperation(Individual operand)
Evaluates Individuals that are not alreadt evaluated. |
void |
doOperation(java.util.List<Individual> operands)
Performs the operation on the list passed |
FitnessFunction |
getFitnessFunction()
Get the fitness function |
int |
getOriginalPopulationSize()
|
int |
getPopulationSize()
|
void |
setPopulationSize(int populationSize)
|
void |
setProperties(java.util.Properties p)
Get the size of the population, and use this to determine the size of the cache. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FitnessEvaluationOperation(FitnessFunction ff)
ff - fitness function| Method Detail |
|---|
public int getPopulationSize()
public void setPopulationSize(int populationSize)
public void doOperation(Individual operand)
doOperation in interface Operationoperand - Individual to evaluatepublic void setProperties(java.util.Properties p)
setProperties in interface ParameterIp - object containing propertiespublic int getOriginalPopulationSize()
public void doOperation(java.util.List<Individual> operands)
Operation
doOperation in interface Operationoperands - operands to be operated onpublic FitnessFunction getFitnessFunction()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||