public abstract class Alphabet extends Object implements Storable, InstantiableFromParameterSet, Comparable<Alphabet>
| Modifier and Type | Class and Description |
|---|---|
static class |
Alphabet.AlphabetParameterSet<T extends Alphabet>
The super class for the
InstanceParameterSet of any
Alphabet. |
| Constructor and Description |
|---|
Alphabet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkConsistency(Alphabet a)
|
abstract InstanceParameterSet<? extends Alphabet> |
getCurrentParameterSet()
Returns the
InstanceParameterSet that has been used to
instantiate the current instance of the implementing class. |
abstract double |
getMin()
Returns the minimal value of the
Alphabet. |
abstract double |
length()
Returns the length of the
Alphabet. |
abstract String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompareTopublic final boolean checkConsistency(Alphabet a)
Alphabet is consistent consistent with another
Alphabet, i.e. both Alphabets use the same symbols.a - the second Alphabettrue if the Alphabets are consistent,
false otherwiseComparable.compareTo(Object)public abstract double getMin()
Alphabet.Alphabetpublic abstract double length()
Alphabet.Alphabetpublic abstract InstanceParameterSet<? extends Alphabet> getCurrentParameterSet() throws Exception
InstantiableFromParameterSetInstanceParameterSet that has been used to
instantiate the current instance of the implementing class. If the
current instance was not created using an InstanceParameterSet,
an equivalent InstanceParameterSet should be returned, so that an
instance created using this InstanceParameterSet would be in
principle equal to the current instance.getCurrentParameterSet in interface InstantiableFromParameterSetInstanceParameterSetException - if the InstanceParameterSet could not be returned