|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.utils.AbstractChangeable
org.biojava.bio.dist.AbstractDistribution
org.biojava.bio.dist.SimpleDistribution
org.biojava.bio.dist.UntrainableDistribution
A distribution which does not interact with the training framework.
This class behaves in exactly the same manner as SimpleDistribution,
except that it has a no-op registerWithTrainer
method.
It is useful for building Markov models where you wish to train only
a subset of the Distributions.
Nested Class Summary |
Nested classes inherited from class org.biojava.bio.dist.SimpleDistribution |
SimpleDistribution.Trainer |
Nested classes inherited from class org.biojava.bio.dist.Distribution |
Distribution.NullModelForwarder |
Field Summary |
Fields inherited from class org.biojava.bio.dist.AbstractDistribution |
nullModelForwarder, symbolIndices |
Fields inherited from interface org.biojava.bio.dist.Distribution |
NULL_MODEL, WEIGHTS |
Constructor Summary | |
UntrainableDistribution(FiniteAlphabet alpha)
Construct a new untrainable distribution over the specified alphabet |
Method Summary | |
void |
registerWithTrainer(DistributionTrainerContext dtc)
Dummy implementation which registers an IgnoreCountsTrainer. |
Methods inherited from class org.biojava.bio.dist.SimpleDistribution |
getAlphabet, getNullModel, getWeightImpl, getWeights, hasWeights, setNullModelImpl, setWeightImpl |
Methods inherited from class org.biojava.bio.dist.AbstractDistribution |
getChangeSupport, getWeight, sampleSymbol, setNullModel, setWeight |
Methods inherited from class org.biojava.utils.AbstractChangeable |
addChangeListener, addChangeListener, generateChangeSupport, hasListeners, isUnchanging, removeChangeListener, removeChangeListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.biojava.utils.Changeable |
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener |
Constructor Detail |
public UntrainableDistribution(FiniteAlphabet alpha)
Method Detail |
public void registerWithTrainer(DistributionTrainerContext dtc)
registerWithTrainer
in interface Distribution
registerWithTrainer
in class SimpleDistribution
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |