All Methods Instance Methods Concrete Methods Modifier and Type Method Description
createDistribution(Alphabet alpha)Creates an OrderNDistribution of the appropriate type.
public Distribution createDistribution(Alphabet alpha) throws IllegalAlphabetExceptionCreates an OrderNDistribution of the appropriate type.
- Specified by:
alpha- the Alphabet should be in a form that clearly indicates the conditioning and the conditioned alphabet unless it is very obvious. For example (DNA x DNA) is obvious, ((DNA x DNA x DNA) x DNA) indicates that (DNA x DNA x DNA) is the conditioning
Alphabetand DNA is the conditioned
Alphabet. (DNA x DNA x DNA x DNA) doesn't but for compatibility with biojava 1.2 this is allowed in the constructor. As from biojava 1.2.3 or greater this will be internally converted to ((DNA x DNA x DNA) x DNA) which was the convention implied by biojava 1.2 Calls to the returned
getAlphabet()method will return the converted
- An OrderNDistribution
IllegalAlphabetException- if a Distribution cannot be made with that