Mercurial > hg > svapp
diff align/MATCHAligner.h @ 781:b651dc5ff555
Add subsequence option all over the place
author | Chris Cannam |
---|---|
date | Thu, 16 Jul 2020 18:01:50 +0100 |
parents | 87d33e79855b |
children |
line wrap: on
line diff
--- a/align/MATCHAligner.h Wed Jul 01 15:34:46 2020 +0100 +++ b/align/MATCHAligner.h Thu Jul 16 18:01:50 2020 +0100 @@ -28,6 +28,7 @@ MATCHAligner(Document *doc, ModelId reference, ModelId toAlign, + bool subsequence, bool withTuningDifference); // Destroy the aligner, cleanly cancelling any ongoing alignment @@ -42,7 +43,7 @@ void tuningDifferenceCompletionChanged(ModelId); private: - static QString getAlignmentTransformName(); + static QString getAlignmentTransformName(bool subsequence); static QString getTuningDifferenceTransformName(); bool beginAlignmentPhase(); @@ -54,6 +55,7 @@ ModelId m_alignmentModel; // an AlignmentModel ModelId m_tuningDiffOutputModel; // SparseTimeValueModel, unreg'd with doc ModelId m_pathOutputModel; // SparseTimeValueModel, unreg'd with doc + bool m_subsequence; bool m_withTuningDifference; float m_tuningFrequency; bool m_incomplete;