|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Genome
Defines the genetic information contained in an Organism
belonging to
a Taxon
. A Genome may contain any number of instances of Gene
, though in practice the number is determined by the Genomic
which
defines this Genome. The structure of Genome is approximately parallel to
that of Genomic
.
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 |
Fields inherited from interface com.rubecula.darwin.domain.helper.Ploidy |
---|
DIPLOID, HAPLOID |
Method Summary | |
---|---|
void |
environmentChanged(Visualizable colony)
Flush the cached phenotype for this genome/colony combination. |
Phenotype |
express(Colony colony)
Express the genes of this Genome in the context of population and return the result as a Phenotype. |
Genome |
fertilize(Genes other)
Method to fuse this haploid genome with other genome into a
new diploid genome. |
Gene |
getGene(java.lang.String id)
|
Genomic |
getGenomic()
|
boolean |
getSex()
|
Genes |
invert()
|
Genome |
mutate(Mutator mutator)
Method to mutate a Genome using a particular mutator. |
Methods inherited from interface com.rubecula.darwin.domain.helper.Genotype |
---|
addGene, addGene, addGenes, doCensus |
Methods inherited from interface net.sf.tostring0.IToString |
---|
toString, toStringBrief, toStringId |
Methods inherited from interface com.rubecula.darwin.domain.helper.Ploidy |
---|
getPloidy |
Methods inherited from interface com.rubecula.darwin.domain.helper.Genes |
---|
getGene |
Methods inherited from interface java.util.List |
---|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
Methods inherited from interface com.rubecula.darwin.domain.helper.Basic |
---|
getBases |
Methods inherited from interface com.rubecula.darwin.domain.helper.CacheSignature |
---|
getSignature |
Methods inherited from interface com.rubecula.darwin.domain.helper.Censusible |
---|
censusMe, getCensusibleChildren |
Methods inherited from interface net.sf.tostring0.Identifiable |
---|
getIdentifier |
Method Detail |
---|
void environmentChanged(Visualizable colony)
colony
- Phenotype express(Colony colony)
colony
- the population this genome belongs to, often ignored.
Genome fertilize(Genes other)
other
genome into a
new diploid genome. In theory, at least, there is no implied ordering of
the two gametes. The resulting genome should express as a phenotype
regardless of the ordering of the arguments x and y. At meiosis, the
ordering of the parents x, y is semi-significant - but the effect should
be masked by the seeding of the random number generator for a mating.
This and the other gamete must conform to the same Genomic, otherwise, no
fertilization can take place.
TODO in theory, we could allow this and two other Genes parameters to
combine into a triploid result.
other
- the gamete to be fused with this gamete
Gene getGene(java.lang.String id)
id
-
Genomic getGenomic()
boolean getSex() throws GeneticsException
GeneticsException
Genes invert()
Genome mutate(Mutator mutator)
mutator
- the mutator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |