13 unique_ptr<SubstitutionModelInterface> subModel,
14 const std::string& prefix) :
16 subModel_(std::move(subModel)),
17 size_(subModel_->getNumberOfStates()),
20 d2pij_t(size_, size_),
21 nestedPrefix_(subModel_->getNamespace())
32 subModel_(fmsm.subModel_->clone()),
36 d2pij_t(fmsm.d2pij_t),
37 nestedPrefix_(fmsm.nestedPrefix_)
Virtual class of a Transition Model related to a given SubstitutionModel.
RowMatrix< double > d2pij_t
RowMatrix< double > pij_t
These ones are for bookkeeping:
std::unique_ptr< SubstitutionModelInterface > subModel_
The related model.
RowMatrix< double > dpij_t
std::string nestedPrefix_
AbstractFromSubstitutionModelTransitionModel & operator=(const AbstractFromSubstitutionModelTransitionModel &fmsm)
friend class AbstractFromSubstitutionModelTransitionModel
void addParameters_(const ParameterList ¶meters)
AbstractParameterAliasable & operator=(const AbstractParameterAliasable &ap)
std::string getNamespace() const override
Defines the basic types of data flow nodes.