|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IndividualFactory
The IndividualFactory is a creator for Individuals.
| Method Summary | |
|---|---|
void |
addIndividualStateListener(IndividualStateListener listener)
Adds an IndividualStateListener to each Individual that
is created by this class. |
Individual |
create()
Creates a new Individual. |
Individual |
create(Genotype genotype)
Creates a new Individual with a specified Genotype. |
void |
removeIndividualStateListener(IndividualStateListener listener)
Removes an IndividualStateListener that is invoked if the state
of any Individual changes. |
| Method Detail |
|---|
Individual create()
Individual.
Individual create(Genotype genotype)
Individual with a specified Genotype.
genotype - the genotype of the individual
void addIndividualStateListener(IndividualStateListener listener)
IndividualStateListener to each Individual that
is created by this class. This listener is invoked if the state of the
Individual changes.
listener - the listener that is invoked if the state of any individual
changesremoveIndividualStateListener(org.opt4j.core.IndividualStateListener)void removeIndividualStateListener(IndividualStateListener listener)
IndividualStateListener that is invoked if the state
of any Individual changes. All Individuals created after
this method call by this IndividualFactory do no longer use the
listener.
listener - the listener that is invoked if the state of any individual
changesaddIndividualStateListener(org.opt4j.core.IndividualStateListener)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||