5 #ifndef BPP_PHYL_LIKELIHOOD_ABSTRACTSUBSTITUTIONPROCESS_H
6 #define BPP_PHYL_LIKELIHOOD_ABSTRACTSUBSTITUTIONPROCESS_H
37 return dist ? dist->getNumberOfCategories() : 1;
A partial implementation of the SubstitutionProcess interface.
AbstractSubstitutionProcess()
bool isCompatibleWith(const AlignmentDataInterface &data) const
size_t getNumberOfStates() const
ParameterList getNonDerivableParameters() const
get NonDerivable parameters
size_t getNumberOfClasses() const
std::shared_ptr< const Alphabet > getAlphabet() const
virtual std::shared_ptr< const Alphabet > getAlphabet() const =0
virtual size_t getNumberOfModelStates() const =0
This interface describes the substitution process along the tree and sites of the alignment.
virtual std::shared_ptr< const DiscreteDistributionInterface > getRateDistribution() const =0
Get a pointer to the rate distribution (or null if there is no rate distribution).
virtual const StateMapInterface & stateMap() const =0
virtual std::shared_ptr< const Alphabet > getAlphabet() const =0
Defines the basic types of data flow nodes.