jebl.evolution.align
public class ProfileCharacter extends java.lang.Object
Constructor and Description |
---|
ProfileCharacter(int alphabetSize) |
Modifier and Type | Method and Description |
---|---|
void |
addCharacter(char character,
int increment) |
void |
addGaps(int count) |
void |
addProfileCharacter(ProfileCharacter character) |
void |
clear() |
float |
gapFraction() |
static ProfileCharacter |
getImmutableProfileCharacter(char character)
An immutable ProfileCharacter that uses less memory than a mutable profile character.
|
boolean |
isAllGaps() |
int |
print() |
void |
removeProfileCharacter(ProfileCharacter character) |
static float |
score(ProfileCharacter character1,
ProfileCharacter character2,
Scores scores) |
static float |
scoreSelf(ProfileCharacter character,
Scores scores) |
java.lang.String |
toString() |
public static ProfileCharacter getImmutableProfileCharacter(char character)
character
- the single character to wrap in a profile.public void addCharacter(char character, int increment)
public void addProfileCharacter(ProfileCharacter character)
public void removeProfileCharacter(ProfileCharacter character)
public void addGaps(int count)
public static float score(ProfileCharacter character1, ProfileCharacter character2, Scores scores)
public static float scoreSelf(ProfileCharacter character, Scores scores)
public int print()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isAllGaps()
public void clear()
public float gapFraction()
http://code.google.com/p/jebl2/