|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Common interface for models of genes.
Method Summary | |
java.lang.Object |
clone()
All genes must be cloneable. |
Gene |
duplicate(int paralogID)
Generates an paralog of this gene. |
AminoAcid |
getAminoAcid(int index)
Returns the AminoAcid at the given index. |
float |
getEvolutionSpeed()
Returns the currently employed evolution speed for this Gene |
int |
getID()
Return the ID number for this gene. |
int |
getParalogID()
Returns the paralog number for this gene. |
int |
getSize()
Returns the number of AminoAcids in this Gene. |
void |
reverse()
Reverses the amino acid positions in this gene. |
void |
setEvolutionSpeed(float fltNewEvolutionSpeed)
Sets the evolution speed for this Gene. |
void |
substitute()
Processes substitution according to the currently employed substitution matrix for this Gene. |
Method Detail |
public int getID()
public int getParalogID()
public float getEvolutionSpeed()
public void setEvolutionSpeed(float fltNewEvolutionSpeed)
fltNewEvolutionSpeed
- the new evolution speed for this genepublic AminoAcid getAminoAcid(int index)
index
- the index of the AminoAcid to return.
public int getSize()
public void substitute()
public Gene duplicate(int paralogID)
paralogID
- the paralog ID for the duplicated gene.
public void reverse()
public java.lang.Object clone()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |