|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Population
Defines the properties (methods) which characterize a population in an
Evolutionary Computation. Briefly, a population consists of a collection of
instances of Organism
, and which is subject to an Environment
. A population forms part of a Taxon
, which in turn provides
definitions for the genetic and physical aspects of the organisms. Thus a
population is inter-breeding.
Field Summary |
---|
Fields inherited from interface net.sf.tostring0.IToString |
---|
ANGBR_OPEN, ANGBRA_CLSE, BRA_CLSE, BRA_OPEN, BRCE_OPEN, BRCS_CLSE, COLON, LIST_SEPARATOR, MAX_ELEMENTS_DEFAULT, S_MT, S_PERCENT, SEPARATOR, SPACE |
Method Summary | |
---|---|
int |
addColony(Colony colony)
Add a colony to this population. |
java.util.Collection<Colony> |
getColonies()
|
Colony |
getColony(int index)
TODO consider using the id of the colony instead of the index. |
int |
getSequence()
|
Taxon |
getTaxon()
Method to get the Taxon to which this population belongs. |
int |
getTotal()
|
void |
setIndex(int index)
Set the index of this population within its parent Taxon System. |
void |
setTaxon(Taxon system)
Set the system to which this population belongs. |
void |
wrapUp(java.lang.String cause)
Method which is called on this Population when the evolution is finished. |
Methods inherited from interface net.sf.tostring0.Identifiable |
---|
getIdentifier |
Methods inherited from interface com.rubecula.darwin.foundation.Generational |
---|
nextGeneration |
Methods inherited from interface net.sf.tostring0.IToString |
---|
toString, toStringBrief, toStringId |
Methods inherited from interface com.rubecula.darwin.domain.helper.Censusible |
---|
censusMe, getCensusibleChildren |
Methods inherited from interface com.rubecula.darwin.foundation.Countable |
---|
getCount |
Methods inherited from interface com.rubecula.darwin.foundation.Theological |
---|
cullMembers, seedMembers |
Methods inherited from interface com.rubecula.darwin.foundation.Terminal |
---|
isFinished |
Method Detail |
---|
int addColony(Colony colony)
colony
-
java.util.Collection<Colony> getColonies()
Colony getColony(int index)
index
-
com.rubecula.darwin.domain.helper.Taxon#getPopulation(int)
int getSequence()
Taxon getTaxon()
Taxon
system.int getTotal()
void setIndex(int index)
List.indexOf(Object)
.
index
- void setTaxon(Taxon system)
system
- void wrapUp(java.lang.String cause)
cause
- XXX
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |