public class UntrainableDistribution extends SimpleDistribution
registerWithTrainer method.
It is useful for building Markov models where you wish to train only
a subset of the Distributions.SimpleDistribution.TrainerDistribution.NullModelForwardernullModelForwarderNULL_MODEL, WEIGHTS| Constructor and Description |
|---|
UntrainableDistribution(FiniteAlphabet alpha)
Construct a new untrainable distribution over the specified alphabet.
|
| Modifier and Type | Method and Description |
|---|---|
void |
registerWithTrainer(DistributionTrainerContext dtc)
Register an SimpleDistribution.Trainer instance as the trainer for this distribution.
|
getAlphabet, getNullModel, getWeightImpl, getWeights, hasWeights, setNullModelImpl, setWeightImplequals, getChangeSupport, getWeight, hashCode, sampleSymbol, setNullModel, setWeightaddChangeListener, addChangeListener, generateChangeSupport, hasListeners, hasListeners, isUnchanging, removeChangeListener, removeChangeListenerclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListenerpublic UntrainableDistribution(FiniteAlphabet alpha)
alpha - the finite alphabet to be overpublic void registerWithTrainer(DistributionTrainerContext dtc)
SimpleDistributionregisterWithTrainer in interface DistributionregisterWithTrainer in class SimpleDistributiondtc - the context to register withCopyright © 2020 BioJava. All rights reserved.