Structure metric: Difference between revisions

Wikispaces>genewardsmith
**Imported revision 563665673 - Original comment: **
Wikispaces>genewardsmith
**Imported revision 564238161 - Original comment: **
Line 1: Line 1:
<h2>IMPORTED REVISION FROM WIKISPACES</h2>
<h2>IMPORTED REVISION FROM WIKISPACES</h2>
This is an imported revision from Wikispaces. The revision metadata is included below for reference:<br>
This is an imported revision from Wikispaces. The revision metadata is included below for reference:<br>
: This revision was by author [[User:genewardsmith|genewardsmith]] and made on <tt>2015-10-23 14:21:54 UTC</tt>.<br>
: This revision was by author [[User:genewardsmith|genewardsmith]] and made on <tt>2015-10-28 14:43:14 UTC</tt>.<br>
: The original revision id was <tt>563665673</tt>.<br>
: The original revision id was <tt>564238161</tt>.<br>
: The revision comment was: <tt></tt><br>
: The revision comment was: <tt></tt><br>
The revision contents are below, presented both in the original Wikispaces Wikitext format, and in HTML exactly as Wikispaces rendered it.<br>
The revision contents are below, presented both in the original Wikispaces Wikitext format, and in HTML exactly as Wikispaces rendered it.<br>
Line 29: Line 29:
First, || **s**[i + j] mod **O** || ≤ ||**s**[i]|| + ||**s**[j]|| where **O** is the interval of equivalence. If an interval in the interval class of **s**[i] equals **s**[i] and an interval in the interval class of **s**[j] equals **s**[j], then their product, reduced modulo the interval of equivalence **O** equals **s**[**P**], will be **s**[i + j] mod **O**. Hence to get an interval in the class of **s**[i + j] mod **O** other than **s**[i + j] mod **O** as a product, either the interval in the class of **s**[i] must be other than **s**[i], or the interval in the class of **s**[j] must be other than **s**[j]. If always only one of the intervals is different than the defining interval for its class, then || **s**[i + j] mod **O** || equals ||**s**[i]|| + ||**s**[j]||. However, there may be overlap, so that the first interval is not in the class for **s**[i] and the second not in the class for **s**[j], so that the count is double on the right hand side. In any case, we get the inequality. Now d(**s**[i], **s**[j]) + d(**s**[j], **s**[k]) = || |**s**[i] - **s**[j]| || + || |**s**[j] - **s**[k]| || ≥ || |**s**[i] - **s**[k]| || = d(**s**[i], **s**[k]).
First, || **s**[i + j] mod **O** || ≤ ||**s**[i]|| + ||**s**[j]|| where **O** is the interval of equivalence. If an interval in the interval class of **s**[i] equals **s**[i] and an interval in the interval class of **s**[j] equals **s**[j], then their product, reduced modulo the interval of equivalence **O** equals **s**[**P**], will be **s**[i + j] mod **O**. Hence to get an interval in the class of **s**[i + j] mod **O** other than **s**[i + j] mod **O** as a product, either the interval in the class of **s**[i] must be other than **s**[i], or the interval in the class of **s**[j] must be other than **s**[j]. If always only one of the intervals is different than the defining interval for its class, then || **s**[i + j] mod **O** || equals ||**s**[i]|| + ||**s**[j]||. However, there may be overlap, so that the first interval is not in the class for **s**[i] and the second not in the class for **s**[j], so that the count is double on the right hand side. In any case, we get the inequality. Now d(**s**[i], **s**[j]) + d(**s**[j], **s**[k]) = || |**s**[i] - **s**[j]| || + || |**s**[j] - **s**[k]| || ≥ || |**s**[i] - **s**[k]| || = d(**s**[i], **s**[k]).


These properties mean that the structure metric defines a //finite metric space//. This is a structure which has gained a certain amount of attention, particularly in terms of applications in fields requiring data analysis with an eye to similarities and differences.</pre></div>
These properties mean that the structure metric defines a //finite metric space//. This is a structure which has gained a certain amount of attention, particularly in terms of applications in fields requiring data analysis with an eye to similarities and differences.
 
=Isometry=
An [[https://en.wikipedia.org/wiki/Isometry|isometry]] between two metric spaces is a distance-preserving mapping; a mapping f from metric spaces X and Y such that the distance d(f(a), f(b)) in Y equals d(a, b) in X. If f is a bijection, then the isometry defines an isometric isomorphism between X and Y; in this case X and Y are said to be isometric. A metric space X is always isometric to itself by the identity map, but it may have nontrivial isometries. The isometries of X with itself define a group, the [[https://en.wikipedia.org/wiki/Isometry_group|isometry group]].
 
In the case of a finite metric space, the isometry group is defined by a permutation group on the set of points. Any finite metric space is completely characterized by the distance matrix (d(i, j)), where "i" denotes the ith point in some ordering. If S is a permutation matrix on these points, it is an element of the isometry group if and only if S.D.S^(-1) = D, where the dot is matrix multiplication. In this case, D is permutation-similar to itself by S.</pre></div>
<h4>Original HTML content:</h4>
<h4>Original HTML content:</h4>
<div style="width:100%; max-height:400pt; overflow:auto; background-color:#f8f9fa; border: 1px solid #eaecf0; padding:0em"><pre style="margin:0px;border:none;background:none;word-wrap:break-word;width:200%;white-space: pre-wrap ! important" class="old-revision-html">&lt;html&gt;&lt;head&gt;&lt;title&gt;Structure metric&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;!-- ws:start:WikiTextTocRule:4:&amp;lt;img id=&amp;quot;wikitext@@toc@@normal&amp;quot; class=&amp;quot;WikiMedia WikiMediaToc&amp;quot; title=&amp;quot;Table of Contents&amp;quot; src=&amp;quot;/site/embedthumbnail/toc/normal?w=225&amp;amp;h=100&amp;quot;/&amp;gt; --&gt;&lt;div id="toc"&gt;&lt;h1 class="nopad"&gt;Table of Contents&lt;/h1&gt;&lt;!-- ws:end:WikiTextTocRule:4 --&gt;&lt;!-- ws:start:WikiTextTocRule:5: --&gt;&lt;div style="margin-left: 1em;"&gt;&lt;a href="#Definition"&gt;Definition&lt;/a&gt;&lt;/div&gt;
<div style="width:100%; max-height:400pt; overflow:auto; background-color:#f8f9fa; border: 1px solid #eaecf0; padding:0em"><pre style="margin:0px;border:none;background:none;word-wrap:break-word;width:200%;white-space: pre-wrap ! important" class="old-revision-html">&lt;html&gt;&lt;head&gt;&lt;title&gt;Structure metric&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;!-- ws:start:WikiTextTocRule:6:&amp;lt;img id=&amp;quot;wikitext@@toc@@normal&amp;quot; class=&amp;quot;WikiMedia WikiMediaToc&amp;quot; title=&amp;quot;Table of Contents&amp;quot; src=&amp;quot;/site/embedthumbnail/toc/normal?w=225&amp;amp;h=100&amp;quot;/&amp;gt; --&gt;&lt;div id="toc"&gt;&lt;h1 class="nopad"&gt;Table of Contents&lt;/h1&gt;&lt;!-- ws:end:WikiTextTocRule:6 --&gt;&lt;!-- ws:start:WikiTextTocRule:7: --&gt;&lt;div style="margin-left: 1em;"&gt;&lt;a href="#Definition"&gt;Definition&lt;/a&gt;&lt;/div&gt;
&lt;!-- ws:end:WikiTextTocRule:5 --&gt;&lt;!-- ws:start:WikiTextTocRule:6: --&gt;&lt;div style="margin-left: 1em;"&gt;&lt;a href="#Properties"&gt;Properties&lt;/a&gt;&lt;/div&gt;
&lt;!-- ws:end:WikiTextTocRule:7 --&gt;&lt;!-- ws:start:WikiTextTocRule:8: --&gt;&lt;div style="margin-left: 1em;"&gt;&lt;a href="#Properties"&gt;Properties&lt;/a&gt;&lt;/div&gt;
&lt;!-- ws:end:WikiTextTocRule:6 --&gt;&lt;!-- ws:start:WikiTextTocRule:7: --&gt;&lt;/div&gt;
&lt;!-- ws:end:WikiTextTocRule:8 --&gt;&lt;!-- ws:start:WikiTextTocRule:9: --&gt;&lt;div style="margin-left: 1em;"&gt;&lt;a href="#Isometry"&gt;Isometry&lt;/a&gt;&lt;/div&gt;
&lt;!-- ws:end:WikiTextTocRule:7 --&gt;&lt;br /&gt;
&lt;!-- ws:end:WikiTextTocRule:9 --&gt;&lt;!-- ws:start:WikiTextTocRule:10: --&gt;&lt;/div&gt;
&lt;!-- ws:end:WikiTextTocRule:10 --&gt;&lt;br /&gt;
&lt;!-- ws:start:WikiTextHeadingRule:0:&amp;lt;h1&amp;gt; --&gt;&lt;h1 id="toc0"&gt;&lt;a name="Definition"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:0 --&gt;Definition&lt;/h1&gt;
&lt;!-- ws:start:WikiTextHeadingRule:0:&amp;lt;h1&amp;gt; --&gt;&lt;h1 id="toc0"&gt;&lt;a name="Definition"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:0 --&gt;Definition&lt;/h1&gt;
The &lt;em&gt;structure metric&lt;/em&gt; is a &lt;a class="wiki_link_ext" href="https://en.wikipedia.org/wiki/Metric_(mathematics)" rel="nofollow"&gt;distance function&lt;/a&gt; on the notes of a &lt;a class="wiki_link" href="/constant%20structure"&gt;constant structure&lt;/a&gt; &lt;a class="wiki_link" href="/periodic%20scale"&gt;periodic scale&lt;/a&gt; within the period, which give to it the property of being a &lt;a class="wiki_link_ext" href="https://en.wikipedia.org/wiki/Metric_space" rel="nofollow"&gt;finite metric space&lt;/a&gt;. If &lt;strong&gt;s&lt;/strong&gt; is a periodic scale with quasiperiod &lt;strong&gt;P&lt;/strong&gt;, and if &lt;strong&gt;s&lt;/strong&gt;[i] with  0≤i&amp;lt;&lt;strong&gt;P&lt;/strong&gt; is a note of &lt;strong&gt;s&lt;/strong&gt; within the period &lt;strong&gt;P&lt;/strong&gt;, then we may define the base points set base(&lt;strong&gt;s&lt;/strong&gt;[i]) to be the set of integers {j | &lt;strong&gt;s&lt;/strong&gt;[j+i] - &lt;strong&gt;s&lt;/strong&gt;[j] = &lt;strong&gt;s&lt;/strong&gt;[i], 0≤j&amp;lt;&lt;strong&gt;P&lt;/strong&gt;}. These have the property that the interval between the base note &lt;strong&gt;s&lt;/strong&gt;[j] and the note i steps away, &lt;strong&gt;s&lt;/strong&gt;[j+i], is in class(i), the interval class to which &lt;strong&gt;s&lt;/strong&gt;[i] belongs. If the cardinality of this set is n, there are n indicies which correspond to intervals of &lt;strong&gt;s&lt;/strong&gt;[i], and &lt;strong&gt;P&lt;/strong&gt;-n which correspond to indicies of intervals other than &lt;strong&gt;s&lt;/strong&gt;[i]. In other words, there are &lt;strong&gt;P&lt;/strong&gt;-n intervals, counting multiplicities, in the class of &lt;strong&gt;s&lt;/strong&gt;[i] other than &lt;strong&gt;s&lt;/strong&gt;[i]. Then the &lt;em&gt;structure complexity&lt;/em&gt; ||&lt;strong&gt;s&lt;/strong&gt;[i]|| of &lt;strong&gt;s&lt;/strong&gt;[i] is defined to be &lt;strong&gt;P&lt;/strong&gt;-n, and the structure metric is defined as d(&lt;strong&gt;s&lt;/strong&gt;[i], &lt;strong&gt;s&lt;/strong&gt;[j]) = || |&lt;strong&gt;s&lt;/strong&gt;[i] - &lt;strong&gt;s&lt;/strong&gt;[j]| ||.&lt;br /&gt;
The &lt;em&gt;structure metric&lt;/em&gt; is a &lt;a class="wiki_link_ext" href="https://en.wikipedia.org/wiki/Metric_(mathematics)" rel="nofollow"&gt;distance function&lt;/a&gt; on the notes of a &lt;a class="wiki_link" href="/constant%20structure"&gt;constant structure&lt;/a&gt; &lt;a class="wiki_link" href="/periodic%20scale"&gt;periodic scale&lt;/a&gt; within the period, which give to it the property of being a &lt;a class="wiki_link_ext" href="https://en.wikipedia.org/wiki/Metric_space" rel="nofollow"&gt;finite metric space&lt;/a&gt;. If &lt;strong&gt;s&lt;/strong&gt; is a periodic scale with quasiperiod &lt;strong&gt;P&lt;/strong&gt;, and if &lt;strong&gt;s&lt;/strong&gt;[i] with  0≤i&amp;lt;&lt;strong&gt;P&lt;/strong&gt; is a note of &lt;strong&gt;s&lt;/strong&gt; within the period &lt;strong&gt;P&lt;/strong&gt;, then we may define the base points set base(&lt;strong&gt;s&lt;/strong&gt;[i]) to be the set of integers {j | &lt;strong&gt;s&lt;/strong&gt;[j+i] - &lt;strong&gt;s&lt;/strong&gt;[j] = &lt;strong&gt;s&lt;/strong&gt;[i], 0≤j&amp;lt;&lt;strong&gt;P&lt;/strong&gt;}. These have the property that the interval between the base note &lt;strong&gt;s&lt;/strong&gt;[j] and the note i steps away, &lt;strong&gt;s&lt;/strong&gt;[j+i], is in class(i), the interval class to which &lt;strong&gt;s&lt;/strong&gt;[i] belongs. If the cardinality of this set is n, there are n indicies which correspond to intervals of &lt;strong&gt;s&lt;/strong&gt;[i], and &lt;strong&gt;P&lt;/strong&gt;-n which correspond to indicies of intervals other than &lt;strong&gt;s&lt;/strong&gt;[i]. In other words, there are &lt;strong&gt;P&lt;/strong&gt;-n intervals, counting multiplicities, in the class of &lt;strong&gt;s&lt;/strong&gt;[i] other than &lt;strong&gt;s&lt;/strong&gt;[i]. Then the &lt;em&gt;structure complexity&lt;/em&gt; ||&lt;strong&gt;s&lt;/strong&gt;[i]|| of &lt;strong&gt;s&lt;/strong&gt;[i] is defined to be &lt;strong&gt;P&lt;/strong&gt;-n, and the structure metric is defined as d(&lt;strong&gt;s&lt;/strong&gt;[i], &lt;strong&gt;s&lt;/strong&gt;[j]) = || |&lt;strong&gt;s&lt;/strong&gt;[i] - &lt;strong&gt;s&lt;/strong&gt;[j]| ||.&lt;br /&gt;
Line 56: Line 62:
First, || &lt;strong&gt;s&lt;/strong&gt;[i + j] mod &lt;strong&gt;O&lt;/strong&gt; || ≤ ||&lt;strong&gt;s&lt;/strong&gt;[i]|| + ||&lt;strong&gt;s&lt;/strong&gt;[j]|| where &lt;strong&gt;O&lt;/strong&gt; is the interval of equivalence. If an interval in the interval class of &lt;strong&gt;s&lt;/strong&gt;[i] equals &lt;strong&gt;s&lt;/strong&gt;[i] and an interval in the interval class of &lt;strong&gt;s&lt;/strong&gt;[j] equals &lt;strong&gt;s&lt;/strong&gt;[j], then their product, reduced modulo the interval of equivalence &lt;strong&gt;O&lt;/strong&gt; equals &lt;strong&gt;s&lt;/strong&gt;[&lt;strong&gt;P&lt;/strong&gt;], will be &lt;strong&gt;s&lt;/strong&gt;[i + j] mod &lt;strong&gt;O&lt;/strong&gt;. Hence to get an interval in the class of &lt;strong&gt;s&lt;/strong&gt;[i + j] mod &lt;strong&gt;O&lt;/strong&gt; other than &lt;strong&gt;s&lt;/strong&gt;[i + j] mod &lt;strong&gt;O&lt;/strong&gt; as a product, either the interval in the class of &lt;strong&gt;s&lt;/strong&gt;[i] must be other than &lt;strong&gt;s&lt;/strong&gt;[i], or the interval in the class of &lt;strong&gt;s&lt;/strong&gt;[j] must be other than &lt;strong&gt;s&lt;/strong&gt;[j]. If always only one of the intervals is different than the defining interval for its class, then || &lt;strong&gt;s&lt;/strong&gt;[i + j] mod &lt;strong&gt;O&lt;/strong&gt; || equals ||&lt;strong&gt;s&lt;/strong&gt;[i]|| + ||&lt;strong&gt;s&lt;/strong&gt;[j]||. However, there may be overlap, so that the first interval is not in the class for &lt;strong&gt;s&lt;/strong&gt;[i] and the second not in the class for &lt;strong&gt;s&lt;/strong&gt;[j], so that the count is double on the right hand side. In any case, we get the inequality. Now d(&lt;strong&gt;s&lt;/strong&gt;[i], &lt;strong&gt;s&lt;/strong&gt;[j]) + d(&lt;strong&gt;s&lt;/strong&gt;[j], &lt;strong&gt;s&lt;/strong&gt;[k]) = || |&lt;strong&gt;s&lt;/strong&gt;[i] - &lt;strong&gt;s&lt;/strong&gt;[j]| || + || |&lt;strong&gt;s&lt;/strong&gt;[j] - &lt;strong&gt;s&lt;/strong&gt;[k]| || ≥ || |&lt;strong&gt;s&lt;/strong&gt;[i] - &lt;strong&gt;s&lt;/strong&gt;[k]| || = d(&lt;strong&gt;s&lt;/strong&gt;[i], &lt;strong&gt;s&lt;/strong&gt;[k]).&lt;br /&gt;
First, || &lt;strong&gt;s&lt;/strong&gt;[i + j] mod &lt;strong&gt;O&lt;/strong&gt; || ≤ ||&lt;strong&gt;s&lt;/strong&gt;[i]|| + ||&lt;strong&gt;s&lt;/strong&gt;[j]|| where &lt;strong&gt;O&lt;/strong&gt; is the interval of equivalence. If an interval in the interval class of &lt;strong&gt;s&lt;/strong&gt;[i] equals &lt;strong&gt;s&lt;/strong&gt;[i] and an interval in the interval class of &lt;strong&gt;s&lt;/strong&gt;[j] equals &lt;strong&gt;s&lt;/strong&gt;[j], then their product, reduced modulo the interval of equivalence &lt;strong&gt;O&lt;/strong&gt; equals &lt;strong&gt;s&lt;/strong&gt;[&lt;strong&gt;P&lt;/strong&gt;], will be &lt;strong&gt;s&lt;/strong&gt;[i + j] mod &lt;strong&gt;O&lt;/strong&gt;. Hence to get an interval in the class of &lt;strong&gt;s&lt;/strong&gt;[i + j] mod &lt;strong&gt;O&lt;/strong&gt; other than &lt;strong&gt;s&lt;/strong&gt;[i + j] mod &lt;strong&gt;O&lt;/strong&gt; as a product, either the interval in the class of &lt;strong&gt;s&lt;/strong&gt;[i] must be other than &lt;strong&gt;s&lt;/strong&gt;[i], or the interval in the class of &lt;strong&gt;s&lt;/strong&gt;[j] must be other than &lt;strong&gt;s&lt;/strong&gt;[j]. If always only one of the intervals is different than the defining interval for its class, then || &lt;strong&gt;s&lt;/strong&gt;[i + j] mod &lt;strong&gt;O&lt;/strong&gt; || equals ||&lt;strong&gt;s&lt;/strong&gt;[i]|| + ||&lt;strong&gt;s&lt;/strong&gt;[j]||. However, there may be overlap, so that the first interval is not in the class for &lt;strong&gt;s&lt;/strong&gt;[i] and the second not in the class for &lt;strong&gt;s&lt;/strong&gt;[j], so that the count is double on the right hand side. In any case, we get the inequality. Now d(&lt;strong&gt;s&lt;/strong&gt;[i], &lt;strong&gt;s&lt;/strong&gt;[j]) + d(&lt;strong&gt;s&lt;/strong&gt;[j], &lt;strong&gt;s&lt;/strong&gt;[k]) = || |&lt;strong&gt;s&lt;/strong&gt;[i] - &lt;strong&gt;s&lt;/strong&gt;[j]| || + || |&lt;strong&gt;s&lt;/strong&gt;[j] - &lt;strong&gt;s&lt;/strong&gt;[k]| || ≥ || |&lt;strong&gt;s&lt;/strong&gt;[i] - &lt;strong&gt;s&lt;/strong&gt;[k]| || = d(&lt;strong&gt;s&lt;/strong&gt;[i], &lt;strong&gt;s&lt;/strong&gt;[k]).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These properties mean that the structure metric defines a &lt;em&gt;finite metric space&lt;/em&gt;. This is a structure which has gained a certain amount of attention, particularly in terms of applications in fields requiring data analysis with an eye to similarities and differences.&lt;/body&gt;&lt;/html&gt;</pre></div>
These properties mean that the structure metric defines a &lt;em&gt;finite metric space&lt;/em&gt;. This is a structure which has gained a certain amount of attention, particularly in terms of applications in fields requiring data analysis with an eye to similarities and differences.&lt;br /&gt;
&lt;br /&gt;
&lt;!-- ws:start:WikiTextHeadingRule:4:&amp;lt;h1&amp;gt; --&gt;&lt;h1 id="toc2"&gt;&lt;a name="Isometry"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:4 --&gt;Isometry&lt;/h1&gt;
An &lt;a class="wiki_link_ext" href="https://en.wikipedia.org/wiki/Isometry" rel="nofollow"&gt;isometry&lt;/a&gt; between two metric spaces is a distance-preserving mapping; a mapping f from metric spaces X and Y such that the distance d(f(a), f(b)) in Y equals d(a, b) in X. If f is a bijection, then the isometry defines an isometric isomorphism between X and Y; in this case X and Y are said to be isometric. A metric space X is always isometric to itself by the identity map, but it may have nontrivial isometries. The isometries of X with itself define a group, the &lt;a class="wiki_link_ext" href="https://en.wikipedia.org/wiki/Isometry_group" rel="nofollow"&gt;isometry group&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
In the case of a finite metric space, the isometry group is defined by a permutation group on the set of points. Any finite metric space is completely characterized by the distance matrix (d(i, j)), where &amp;quot;i&amp;quot; denotes the ith point in some ordering. If S is a permutation matrix on these points, it is an element of the isometry group if and only if S.D.S^(-1) = D, where the dot is matrix multiplication. In this case, D is permutation-similar to itself by S.&lt;/body&gt;&lt;/html&gt;</pre></div>