comparison align/Align.h @ 781:b651dc5ff555

Add subsequence option all over the place
author Chris Cannam
date Thu, 16 Jul 2020 18:01:50 +0100
parents 32e66fcc4cb7
children e136dd3bb5c6
comparison
equal deleted inserted replaced
780:8fa98f89eda8 781:b651dc5ff555
113 * TransformDrivenDTWAlignment type. It is not necessary for the 113 * TransformDrivenDTWAlignment type. It is not necessary for the
114 * current preferred alignment type actually to be 114 * current preferred alignment type actually to be
115 * TransformDrivenDTWAlignment in order to change this setting. 115 * TransformDrivenDTWAlignment in order to change this setting.
116 */ 116 */
117 static void setPreferredAlignmentTransform(Transform transform); 117 static void setPreferredAlignmentTransform(Transform transform);
118
119 /**
120 * Return true if subsequence alignment is preferred. In this case
121 * the toAlign model is aligned to the best-matching subsequence
122 * of the reference model rather than to the whole reference. This
123 * is only possible for the true built-in alignment types - it's
124 * meaningless for linear or trimmed linear alignment, and for
125 * external program alignment. The default is false.
126 */
127 static bool getUseSubsequenceAlignment();
128
129 /**
130 * Set whether subsequence alignment is to be preferred.
131 */
132 static void setUseSubsequenceAlignment(bool subsequence);
118 133
119 /** 134 /**
120 * Align the "other" model to the reference, attaching an 135 * Align the "other" model to the reference, attaching an
121 * AlignmentModel to it. Alignment is carried out by the method 136 * AlignmentModel to it. Alignment is carried out by the method
122 * configured in the user preferences (see 137 * configured in the user preferences (see