public static class DistributionFactory.DefaultDistributionFactory extends Object implements DistributionFactory, Serializable
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.
DistributionFactory.DefaultDistributionFactory
DEFAULT
Constructor and Description |
---|
DistributionFactory.DefaultDistributionFactory() |
public DistributionFactory.DefaultDistributionFactory()
public Distribution createDistribution(Alphabet alpha) throws IllegalAlphabetException
DistributionFactory
createDistribution
in interface DistributionFactory
alpha
- the emission alphabet for the stateIllegalAlphabetException
- if the factory is unable to generate a
distribution for the required alphabetCopyright © 2014 BioJava. All rights reserved.