5 #ifndef BPP_PHYL_MODEL_ABSTRACTKRONECKERWORDSUBSTITUTIONMODEL_H
6 #define BPP_PHYL_MODEL_ABSTRACTKRONECKERWORDSUBSTITUTIONMODEL_H
90 const std::string& prefix);
108 const std::vector<std::set< size_t>>& vPos,
109 const std::string& prefix);
122 std::unique_ptr<SubstitutionModelInterface> pmodel,
124 const std::string& prefix);
139 std::unique_ptr<SubstitutionModelInterface> pmodel,
141 const std::vector<std::set< size_t>>& vPos,
142 const std::string& prefix);
156 std::shared_ptr<const Alphabet> alph,
157 std::shared_ptr<const StateMapInterface>
stateMap,
158 const std::string& prefix);
Abstract Kronecker Word Model.
AbstractKroneckerWordSubstitutionModel & operator=(const AbstractKroneckerWordSubstitutionModel &)
bool checkChangingPositions_()
checks that the vector of changing positions is valid
std::vector< RowMatrix< double > > vGenerators_
vector of generators for computation purposes
AbstractKroneckerWordSubstitutionModel(ModelList &modelList, const std::string &prefix)
Build a new AbstractKroneckerWordSubstitutionModel object from a vector of pointers to SubstitutionMo...
void fillBasicGenerator_()
First fill of the generator, from the position model.
std::vector< std::set< size_t > > sChangingPos_
vector of sets of simultaneously changing positions.
void setChangingPositions(const std::vector< std::set< size_t >> &vPos)
virtual ~AbstractKroneckerWordSubstitutionModel()
const StateMapInterface & stateMap() const override
Abstract Basal class for words of substitution models.
A list of models, for building a WordSubstitutionModel.
Defines the basic types of data flow nodes.