edu.uconn.mcb.lineageevolver
Interface AminoAcid

All Superinterfaces:
java.lang.Cloneable, Substitutable
All Known Implementing Classes:
ByteAminoAcid

public interface AminoAcid
extends Substitutable, java.lang.Cloneable

Common interface for models of amino acids.

Author:
Hasan Khalil, Lina Pezzella

Method Summary
 java.lang.Object clone()
           
 float getSubstitutionProbability()
          Returns the substitution probability for this amino acid.
 char getType()
          Returns the type of this amino acid.
 void setSubstitutionProbability(float fltNewSubstitutionProbability)
          Sets the substitution probability of this amino acid.
 void setType(char charNewType)
          Sets the type of this amino acid.
 
Methods inherited from interface edu.uconn.mcb.lineageevolver.Substitutable
substitute
 

Method Detail

getType

public char getType()
Returns the type of this amino acid.

Returns:
the type of this amino acid

setType

public void setType(char charNewType)
Sets the type of this amino acid.

Parameters:
charNewType - The type to set this amino acid to.

getSubstitutionProbability

public float getSubstitutionProbability()
Returns the substitution probability for this amino acid.

Returns:
the substitution probability for this amino acid

setSubstitutionProbability

public void setSubstitutionProbability(float fltNewSubstitutionProbability)
Sets the substitution probability of this amino acid.

Parameters:
fltNewSubstitutionProbability - the new substitution probability of this amino acid

clone

public java.lang.Object clone()
See Also:
Object.clone()