You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li><ahref="org/cicirello/permutations/distance/NormalizedPermutationDistanceMeasurer.html" title="interface in org.cicirello.permutations.distance" target="classFrame"><spanclass="interfaceName">NormalizedPermutationDistanceMeasurer</span></a></li>
39
39
<li><ahref="org/cicirello/permutations/distance/NormalizedPermutationDistanceMeasurerDouble.html" title="interface in org.cicirello.permutations.distance" target="classFrame"><spanclass="interfaceName">NormalizedPermutationDistanceMeasurerDouble</span></a></li>
40
40
<li><ahref="org/cicirello/permutations/Permutation.html" title="class in org.cicirello.permutations" target="classFrame">Permutation</a></li>
41
+
<li><ahref="org/cicirello/permutations/Permutation.Mechanic.html" title="class in org.cicirello.permutations" target="classFrame">Permutation.Mechanic</a></li>
41
42
<li><ahref="org/cicirello/permutations/distance/PermutationDistanceMeasurer.html" title="interface in org.cicirello.permutations.distance" target="classFrame"><spanclass="interfaceName">PermutationDistanceMeasurer</span></a></li>
42
43
<li><ahref="org/cicirello/permutations/distance/PermutationDistanceMeasurerDouble.html" title="interface in org.cicirello.permutations.distance" target="classFrame"><spanclass="interfaceName">PermutationDistanceMeasurerDouble</span></a></li>
43
44
<li><ahref="org/cicirello/permutations/PermutationIterator.html" title="class in org.cicirello.permutations" target="classFrame">PermutationIterator</a></li>
<li><ahref="org/cicirello/permutations/distance/NormalizedPermutationDistanceMeasurer.html" title="interface in org.cicirello.permutations.distance"><spanclass="interfaceName">NormalizedPermutationDistanceMeasurer</span></a></li>
39
39
<li><ahref="org/cicirello/permutations/distance/NormalizedPermutationDistanceMeasurerDouble.html" title="interface in org.cicirello.permutations.distance"><spanclass="interfaceName">NormalizedPermutationDistanceMeasurerDouble</span></a></li>
40
40
<li><ahref="org/cicirello/permutations/Permutation.html" title="class in org.cicirello.permutations">Permutation</a></li>
41
+
<li><ahref="org/cicirello/permutations/Permutation.Mechanic.html" title="class in org.cicirello.permutations">Permutation.Mechanic</a></li>
41
42
<li><ahref="org/cicirello/permutations/distance/PermutationDistanceMeasurer.html" title="interface in org.cicirello.permutations.distance"><spanclass="interfaceName">PermutationDistanceMeasurer</span></a></li>
42
43
<li><ahref="org/cicirello/permutations/distance/PermutationDistanceMeasurerDouble.html" title="interface in org.cicirello.permutations.distance"><spanclass="interfaceName">PermutationDistanceMeasurerDouble</span></a></li>
43
44
<li><ahref="org/cicirello/permutations/PermutationIterator.html" title="class in org.cicirello.permutations">PermutationIterator</a></li>
<divclass="block">Computes the inverse of the permutation.</div>
531
531
</dd>
532
+
<dt><spanclass="memberNameLink"><ahref="org/cicirello/permutations/Permutation.html#getInversePermutation--">getInversePermutation()</a></span> - Method in class org.cicirello.permutations.<ahref="org/cicirello/permutations/Permutation.html" title="class in org.cicirello.permutations">Permutation</a></dt>
533
+
<dd>
534
+
<divclass="block">Computes a Permutation that is the inverse of this Permutation.</div>
535
+
</dd>
532
536
</dl>
533
537
<aname="I:H">
534
538
<!-- -->
@@ -554,6 +558,12 @@ <h2 class="title">I</h2>
554
558
<dd>
555
559
<divclass="block">Constructs the distance measurer as specified in the class documentation.</div>
556
560
</dd>
561
+
<dt><spanclass="memberNameLink"><ahref="org/cicirello/permutations/Permutation.html#invert--">invert()</a></span> - Method in class org.cicirello.permutations.<ahref="org/cicirello/permutations/Permutation.html" title="class in org.cicirello.permutations">Permutation</a></dt>
562
+
<dd>
563
+
<divclass="block">Inverts the Permutation, such that if p1 is the Permutation immediately
564
+
prior to the call to invert, and if p2 is the Permutation immediately after
565
+
the call to invert, then p1.get(i) == j iff p2.get(j) == i, for all i, j.</div>
566
+
</dd>
557
567
<dt><spanclass="memberNameLink"><ahref="org/cicirello/permutations/Permutation.html#iterator--">iterator()</a></span> - Method in class org.cicirello.permutations.<ahref="org/cicirello/permutations/Permutation.html" title="class in org.cicirello.permutations">Permutation</a></dt>
558
568
<dd>
559
569
<divclass="block">Returns an Iterator over all Permutations the length of this Permutation.</div>
@@ -738,6 +748,10 @@ <h2 class="title">M</h2>
738
748
<dd>
739
749
<divclass="block">Computes mean of a dataset.</div>
740
750
</dd>
751
+
<dt><spanclass="memberNameLink"><ahref="org/cicirello/permutations/Permutation.Mechanic.html#Mechanic--">Mechanic()</a></span> - Constructor for class org.cicirello.permutations.<ahref="org/cicirello/permutations/Permutation.Mechanic.html" title="class in org.cicirello.permutations">Permutation.Mechanic</a></dt>
752
+
<dd>
753
+
<divclass="block">The default constructor can only be called by subclasses.</div>
754
+
</dd>
741
755
</dl>
742
756
<aname="I:N">
743
757
<!-- -->
@@ -868,6 +882,12 @@ <h2 class="title">P</h2>
868
882
<divclass="block">Initializes a permutation of the integers in the interval [0, length) based on their relative order
869
883
in a permutation p.</div>
870
884
</dd>
885
+
<dt><ahref="org/cicirello/permutations/Permutation.Mechanic.html" title="class in org.cicirello.permutations"><spanclass="typeNameLink">Permutation.Mechanic</span></a> - Class in <ahref="org/cicirello/permutations/package-summary.html">org.cicirello.permutations</a></dt>
886
+
<dd>
887
+
<divclass="block">The Permutation.Mechanic class provides a means of adding application-specific
888
+
operations on Permutations without the need to directly alter the Permutation
889
+
class.</div>
890
+
</dd>
871
891
<dt><ahref="org/cicirello/permutations/distance/PermutationDistanceMeasurer.html" title="interface in org.cicirello.permutations.distance"><spanclass="typeNameLink">PermutationDistanceMeasurer</span></a> - Interface in <ahref="org/cicirello/permutations/distance/package-summary.html">org.cicirello.permutations.distance</a></dt>
872
892
<dd>
873
893
<divclass="block">Implement this interface, PermutationDistanceMeasurer, to define a distance metric for permutations.</div>
@@ -1025,6 +1045,15 @@ <h2 class="title">S</h2>
1025
1045
<dd>
1026
1046
<divclass="block">Implement this interface, SequenceDistanceMeasurerDouble, to define a distance metric for sequences.</div>
1027
1047
</dd>
1048
+
<dt><spanclass="memberNameLink"><ahref="org/cicirello/permutations/Permutation.Mechanic.html#set-org.cicirello.permutations.Permutation-int:A-">set(Permutation, int[])</a></span> - Method in class org.cicirello.permutations.<ahref="org/cicirello/permutations/Permutation.Mechanic.html" title="class in org.cicirello.permutations">Permutation.Mechanic</a></dt>
1049
+
<dd>
1050
+
<divclass="block">Changes the state of the Permutation according to the contents
1051
+
of an array of int values.</div>
1052
+
</dd>
1053
+
<dt><spanclass="memberNameLink"><ahref="org/cicirello/permutations/Permutation.Mechanic.html#set-org.cicirello.permutations.Permutation-int-int-">set(Permutation, int, int)</a></span> - Method in class org.cicirello.permutations.<ahref="org/cicirello/permutations/Permutation.Mechanic.html" title="class in org.cicirello.permutations">Permutation.Mechanic</a></dt>
1054
+
<dd>
1055
+
<divclass="block">Changes the integer in one specific location of a Permutation.</div>
1056
+
</dd>
1028
1057
<dt><spanclass="memberNameLink"><ahref="org/cicirello/permutations/Permutation.html#set-int:A-">set(int[])</a></span> - Method in class org.cicirello.permutations.<ahref="org/cicirello/permutations/Permutation.html" title="class in org.cicirello.permutations">Permutation</a></dt>
1029
1058
<dd>
1030
1059
<divclass="block">Changes the state of this permutation to be identical to the elements of an array.</div>
@@ -1067,6 +1096,11 @@ <h2 class="title">S</h2>
1067
1096
</a>
1068
1097
<h2class="title">T</h2>
1069
1098
<dl>
1099
+
<dt><spanclass="memberNameLink"><ahref="org/cicirello/permutations/Permutation.html#toArray--">toArray()</a></span> - Method in class org.cicirello.permutations.<ahref="org/cicirello/permutations/Permutation.html" title="class in org.cicirello.permutations">Permutation</a></dt>
1100
+
<dd>
1101
+
<divclass="block">Generates an array of int values from the interval [0, n) in the same order
1102
+
that they occur in this Permutation.</div>
1103
+
</dd>
1070
1104
<dt><spanclass="memberNameLink"><ahref="org/cicirello/permutations/Permutation.html#toBigInteger--">toBigInteger()</a></span> - Method in class org.cicirello.permutations.<ahref="org/cicirello/permutations/Permutation.html" title="class in org.cicirello.permutations">Permutation</a></dt>
1071
1105
<dd>
1072
1106
<divclass="block">Generates a unique integer representing the permutation.</div>
0 commit comments