|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Sexual
Defines the one method which must be supported by sex-based organisms, viz. Organism_Sexual instances: ie. isFemale().
| Method Summary | |
|---|---|
Organism |
birth(String identifier,
Genotype genotype,
boolean female)
Method to construct a new organism in the given population,
with the given identifier, the given genotype and the given sex (female). |
boolean |
isFemale()
Method to get the sex of this organism. |
| Method Detail |
|---|
boolean isFemale()
Organism birth(String identifier,
Genotype genotype,
boolean female)
population,
with the given identifier, the given genotype and the given sex (female).
As a side-effect, the result is added to the parents' population.
identifier - genotype - female -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||