|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.bio.dist.DistributionFactory.DefaultDistributionFactory
The default DistributionFactory implementation.
It knows about hand-optimized implementations for some alphabets (like DNA) without the optimized classes needing to be exposed from the DP package.
Nested Class Summary |
Nested classes inherited from class org.biojava.bio.dist.DistributionFactory |
DistributionFactory.DefaultDistributionFactory |
Field Summary |
Fields inherited from interface org.biojava.bio.dist.DistributionFactory |
DEFAULT |
Constructor Summary | |
DistributionFactory.DefaultDistributionFactory()
|
Method Summary | |
Distribution |
createDistribution(Alphabet alpha)
Generate a new Distribution as requested. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DistributionFactory.DefaultDistributionFactory()
Method Detail |
public Distribution createDistribution(Alphabet alpha) throws IllegalAlphabetException
DistributionFactory
createDistribution
in interface DistributionFactory
alpha
- the emission alphabet for the state
IllegalAlphabetException
- if the factory is unable to generate a
distribution for the required alphabet
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |