26 const string& prefix) :
30 (prefix ==
"") ?
"Kron." : prefix)
36 std::shared_ptr<const Alphabet> alph,
37 std::shared_ptr<const StateMapInterface> stateMap,
38 const string& prefix) :
46 std::unique_ptr<SubstitutionModelInterface> pmodel,
48 const string& prefix) :
52 (prefix ==
"") ?
"Kron." : prefix)
60 const vector<set< size_t>>& vPos,
61 const string& prefix) :
65 (prefix ==
"") ?
"Kron." : prefix)
72 std::unique_ptr<SubstitutionModelInterface> pmodel,
74 const vector<set< size_t>>& vPos,
75 const string& prefix) :
79 (prefix ==
"") ?
"Kron." : prefix)
Abstract Kronecker Word Model.
bool enableEigenDecomposition()
Tell if eigenValues and Vectors must be computed.
void updateMatrices_()
Diagonalize the matrix, and fill the eigenValues_, iEigenValues_, leftEigenVectors_ and rightEigenVe...
KroneckerWordSubstitutionModel(ModelList &modelList, const std::string &prefix="")
Build a new KroneckerWordSubstitutionModel object from a Vector of pointers to SubstitutionModels.
virtual std::string getName() const override
Get the name of the model.
A list of models, for building a WordSubstitutionModel.
Defines the basic types of data flow nodes.