|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Genotype
A Genotype is a (diploid or haploid) set of genes which can be manipulated. TODO consider defining a Genotype as a haploid set of genes.
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 | |
---|---|
boolean |
addGene(Gene gene)
Add gene to this Genotype at its end. |
void |
addGene(int locus,
Gene gene)
Add a Gene to this Genotype at a specific index. |
void |
addGenes(Genes genes)
Add the given genes to this Genotype. |
void |
doCensus(FrequencyMap<Allele> alleleFrequencies)
|
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 |
---|
boolean addGene(Gene gene)
gene
to this Genotype at its end.
gene
- an implementer of Gene
.
void addGene(int locus, Gene gene)
locus
- the locus of the gene.gene
- the gene to be added.void addGenes(Genes genes)
genes
- void doCensus(FrequencyMap<Allele> alleleFrequencies)
alleleFrequencies
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |