Generates an "array mask" of a specified length,
+
Generates an "array mask" of a specified length and specified number of true values,
where an "array mask" is an array of boolean values of the same length as another array.
-
arrayMask(int, double, SplittableRandom) - Static method in class org.cicirello.math.rand.RandomIndexer
+
arrayMask(int, Random) - Static method in class org.cicirello.math.rand.RandomIndexer
Generates an "array mask" of a specified length,
where an "array mask" is an array of boolean values of the same length as another array.
-
arrayMask(int, double, Random) - Static method in class org.cicirello.math.rand.RandomIndexer
+
arrayMask(int, SplittableRandom) - Static method in class org.cicirello.math.rand.RandomIndexer
Generates an "array mask" of a specified length,
where an "array mask" is an array of boolean values of the same length as another array.
-
+
B
@@ -135,35 +160,35 @@
B
Block Interchange Distance:
-
BlockInterchangeDistance() - Constructor for class org.cicirello.permutations.distance.BlockInterchangeDistance
+
BlockInterchangeDistance() - Constructor for class org.cicirello.permutations.distance.BlockInterchangeDistance
Constructs the distance measurer as specified in the class documentation.
-
+
C
-- compute() - Method in class org.cicirello.math.la.JacobiDiagonalization
+- compute() - Method in class org.cicirello.math.la.JacobiDiagonalization
-
Computes the eigenvalues and eigenvectors using Jacobi Iteration.
-- compute(double) - Method in class org.cicirello.math.la.JacobiDiagonalization
+- compute(double) - Method in class org.cicirello.math.la.JacobiDiagonalization
-
Computes the eigenvalues and eigenvectors using Jacobi Iteration.
-- compute(int) - Method in class org.cicirello.math.la.JacobiDiagonalization
+- compute(double, int) - Method in class org.cicirello.math.la.JacobiDiagonalization
-
Computes the eigenvalues and eigenvectors using Jacobi Iteration.
-- compute(double, int) - Method in class org.cicirello.math.la.JacobiDiagonalization
+- compute(int) - Method in class org.cicirello.math.la.JacobiDiagonalization
-
Computes the eigenvalues and eigenvectors using Jacobi Iteration.
-- copy() - Method in class org.cicirello.permutations.Permutation
+- copy() - Method in class org.cicirello.permutations.Permutation
-
-- copy() - Method in interface org.cicirello.util.Copyable
+- copy() - Method in interface org.cicirello.util.Copyable
-
Creates an identical copy of this object.
@@ -171,27 +196,27 @@ C
-
A simple interface for objects that can be copied.
-- correlation(int[], int[]) - Static method in class org.cicirello.math.stats.Statistics
+- correlation(double[], double[]) - Static method in class org.cicirello.math.stats.Statistics
-
Computes correlation coefficient for a pair of random variables.
-- correlation(double[], double[]) - Static method in class org.cicirello.math.stats.Statistics
+- correlation(int[], int[]) - Static method in class org.cicirello.math.stats.Statistics
-
Computes correlation coefficient for a pair of random variables.
-- correlationMatrix(int[][]) - Static method in class org.cicirello.math.stats.Statistics
+- correlationMatrix(double[][]) - Static method in class org.cicirello.math.stats.Statistics
-
Computes correlation matrix.
-- correlationMatrix(double[][]) - Static method in class org.cicirello.math.stats.Statistics
+- correlationMatrix(int[][]) - Static method in class org.cicirello.math.stats.Statistics
-
Computes correlation matrix.
-- covariance(int[], int[]) - Static method in class org.cicirello.math.stats.Statistics
+- covariance(double[], double[]) - Static method in class org.cicirello.math.stats.Statistics
-
Computes covariance for a pair of random variables.
-- covariance(double[], double[]) - Static method in class org.cicirello.math.stats.Statistics
+- covariance(int[], int[]) - Static method in class org.cicirello.math.stats.Statistics
-
Computes covariance for a pair of random variables.
@@ -199,7 +224,7 @@ C
-
Cyclic Edge Distance:
-- CyclicEdgeDistance() - Constructor for class org.cicirello.permutations.distance.CyclicEdgeDistance
+- CyclicEdgeDistance() - Constructor for class org.cicirello.permutations.distance.CyclicEdgeDistance
-
Constructs the distance measurer as specified in the class documentation.
@@ -207,7 +232,7 @@ C
-
This class implements the concept of a cyclic independent distance measure.
-- CyclicIndependentDistance(PermutationDistanceMeasurer) - Constructor for class org.cicirello.permutations.distance.CyclicIndependentDistance
+- CyclicIndependentDistance(PermutationDistanceMeasurer) - Constructor for class org.cicirello.permutations.distance.CyclicIndependentDistance
-
Constructs a distance measure for measuring distance with cyclic independence, such that
distance = min_{i in [0,N)} distance(p1,rotate(p2,i))
@@ -216,7 +241,7 @@ C
-
This class implements the concept of a cyclic independent distance measure.
- - CyclicIndependentDistanceDouble(PermutationDistanceMeasurerDouble) - Constructor for class org.cicirello.permutations.distance.CyclicIndependentDistanceDouble
+- CyclicIndependentDistanceDouble(PermutationDistanceMeasurerDouble) - Constructor for class org.cicirello.permutations.distance.CyclicIndependentDistanceDouble
-
Constructs a distance measure for measuring distance with cyclic independence, such that
distance = min_{i in [0,N)} distance(p1,rotate(p2,i))
@@ -225,7 +250,7 @@ C
-
This class implements the combination of cyclic independence and reversal independence.
- - CyclicReversalIndependentDistance(PermutationDistanceMeasurer) - Constructor for class org.cicirello.permutations.distance.CyclicReversalIndependentDistance
+- CyclicReversalIndependentDistance(PermutationDistanceMeasurer) - Constructor for class org.cicirello.permutations.distance.CyclicReversalIndependentDistance
-
Constructs a distance measure for measuring distance with cyclic and reversal independence, such that
distance = min_{i in [0,N)} { distance(p1,rotate(p2,i)), distance(p1,rotate(reverse(p2),i)) }
@@ -234,7 +259,7 @@ C
-
This class implements the combination of cyclic independence and reversal independence.
- - CyclicReversalIndependentDistanceDouble(PermutationDistanceMeasurerDouble) - Constructor for class org.cicirello.permutations.distance.CyclicReversalIndependentDistanceDouble
+- CyclicReversalIndependentDistanceDouble(PermutationDistanceMeasurerDouble) - Constructor for class org.cicirello.permutations.distance.CyclicReversalIndependentDistanceDouble
-
Constructs a distance measure for measuring distance with cyclic and reversal independence, such that
distance = min_{i in [0,N)} { distance(p1,rotate(p2,i)), distance(p1,rotate(reverse(p2),i)) }
@@ -243,12 +268,12 @@ C
-
Cyclic RType Distance:
- - CyclicRTypeDistance() - Constructor for class org.cicirello.permutations.distance.CyclicRTypeDistance
+- CyclicRTypeDistance() - Constructor for class org.cicirello.permutations.distance.CyclicRTypeDistance
-
Constructs the distance measurer as specified in the class documentation.
-
+
D
@@ -257,7 +282,7 @@
D
Deviation Distance:
-
DeviationDistance() - Constructor for class org.cicirello.permutations.distance.DeviationDistance
+
DeviationDistance() - Constructor for class org.cicirello.permutations.distance.DeviationDistance
Constructs the distance measurer as specified in the class documentation.
@@ -265,7 +290,7 @@
D
Normalized Deviation Distance:
-
DeviationDistanceNormalized() - Constructor for class org.cicirello.permutations.distance.DeviationDistanceNormalized
+
DeviationDistanceNormalized() - Constructor for class org.cicirello.permutations.distance.DeviationDistanceNormalized
Constructs the distance measurer as specified in the class documentation.
@@ -273,410 +298,410 @@
D
Normalized Deviation Distance:
-
DeviationDistanceNormalized2005() - Constructor for class org.cicirello.permutations.distance.DeviationDistanceNormalized2005
+
DeviationDistanceNormalized2005() - Constructor for class org.cicirello.permutations.distance.DeviationDistanceNormalized2005
Constructs the distance measurer as specified in the class documentation.
-
difference(int[][], int[][], int[][]) - Static method in class org.cicirello.math.la.MatrixOps
+
difference(double[][], double[][]) - Static method in class org.cicirello.math.la.MatrixOps
Computes C = A - B.
-
difference(double[][], double[][], double[][]) - Static method in class org.cicirello.math.la.MatrixOps
+
difference(double[][], double[][], double[][]) - Static method in class org.cicirello.math.la.MatrixOps
Computes C = A - B.
-
difference(int[][], int[][]) - Static method in class org.cicirello.math.la.MatrixOps
+
difference(int[][], int[][]) - Static method in class org.cicirello.math.la.MatrixOps
Computes C = A - B.
-
difference(double[][], double[][]) - Static method in class org.cicirello.math.la.MatrixOps
+
difference(int[][], int[][], int[][]) - Static method in class org.cicirello.math.la.MatrixOps
Computes C = A - B.
-
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.AcyclicEdgeDistance
+
distance(boolean[], boolean[]) - Method in class org.cicirello.sequences.distance.EditDistance
-Measures the distance between two permutations.
-
-
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.BlockInterchangeDistance
-
-Measures the distance between two permutations.
+Measures the distance between two arrays.
-
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.CyclicEdgeDistance
+
distance(boolean[], boolean[]) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
-Measures the distance between two permutations.
+Measures the distance between two arrays.
-
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.CyclicIndependentDistance
+
distance(boolean[], boolean[]) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
-Measures the distance between two permutations, with cyclic independence:
- distance = min_{i in [0,N)} distance(p1,rotate(p2,i))
+Measures the distance between two arrays.
-
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.CyclicReversalIndependentDistance
+
distance(boolean[], boolean[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
-Measures the distance between two permutations, with cyclic and reversal independence:
- distance = min_{i in [0,N)} { distance(p1,rotate(p2,i)), distance(p1,rotate(reverse(p2),i)) }
+Measures the distance between two arrays.
-
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.CyclicRTypeDistance
+
distance(byte[], byte[]) - Method in class org.cicirello.sequences.distance.EditDistance
-Measures the distance between two permutations.
+Measures the distance between two arrays.
-
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.DeviationDistance
+
distance(byte[], byte[]) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
-Measures the distance between two permutations.
+Measures the distance between two arrays.
-
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.ExactMatchDistance
+
distance(byte[], byte[]) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
-Measures the distance between two permutations.
+Measures the distance between two arrays.
-
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.InterchangeDistance
+
distance(byte[], byte[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
-Measures the distance between two permutations.
+Measures the distance between two arrays.
-
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.KendallTauDistance
+
distance(char[], char[]) - Method in class org.cicirello.sequences.distance.EditDistance
-Measures the distance between two permutations.
+Measures the distance between two arrays.
-
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.LeeDistance
+
distance(char[], char[]) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
-Measures the distance between two permutations.
+Measures the distance between two arrays.
-
distance(Permutation, Permutation) - Method in interface org.cicirello.permutations.distance.PermutationDistanceMeasurer
+
distance(char[], char[]) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
-Measures the distance between two permutations.
+Measures the distance between two arrays.
-
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.ReinsertionDistance
+
distance(char[], char[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
-Measures the distance between two permutations.
+Measures the distance between two arrays.
-
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.ReversalDistance
+
distance(double[], double[]) - Method in class org.cicirello.sequences.distance.EditDistance
-Measures the distance between two permutations.
+Measures the distance between two arrays.
-
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.ReversalIndependentDistance
+
distance(double[], double[]) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
-Measures the distance between two permutations, with reversal independence:
- distance = min { distance(p1,p2), distance(p1,reverse(p2)) }
+Measures the distance between two arrays.
-
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.RTypeDistance
+
distance(double[], double[]) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
-Measures the distance between two permutations.
+Measures the distance between two arrays.
-
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.ScrambleDistance
+
distance(double[], double[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
-Measures the distance between two permutations.
+Measures the distance between two arrays.
-
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.SquaredDeviationDistance
+
distance(float[], float[]) - Method in class org.cicirello.sequences.distance.EditDistance
-Measures the distance between two permutations.
+Measures the distance between two arrays.
-
distance(int[], int[]) - Method in class org.cicirello.sequences.distance.EditDistance
+
distance(float[], float[]) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
Measures the distance between two arrays.
-
distance(long[], long[]) - Method in class org.cicirello.sequences.distance.EditDistance
+
distance(float[], float[]) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
Measures the distance between two arrays.
-
distance(short[], short[]) - Method in class org.cicirello.sequences.distance.EditDistance
+
distance(float[], float[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
Measures the distance between two arrays.
-
distance(byte[], byte[]) - Method in class org.cicirello.sequences.distance.EditDistance
+
distance(int[], int[]) - Method in class org.cicirello.sequences.distance.EditDistance
Measures the distance between two arrays.
-
distance(char[], char[]) - Method in class org.cicirello.sequences.distance.EditDistance
+
distance(int[], int[]) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
Measures the distance between two arrays.
-
distance(boolean[], boolean[]) - Method in class org.cicirello.sequences.distance.EditDistance
+
distance(int[], int[]) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
Measures the distance between two arrays.
-
distance(double[], double[]) - Method in class org.cicirello.sequences.distance.EditDistance
+
distance(int[], int[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
Measures the distance between two arrays.
-
distance(float[], float[]) - Method in class org.cicirello.sequences.distance.EditDistance
+
distance(long[], long[]) - Method in class org.cicirello.sequences.distance.EditDistance
Measures the distance between two arrays.
-
distance(String, String) - Method in class org.cicirello.sequences.distance.EditDistance
+
distance(long[], long[]) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
-Measures the distance between two Strings.
+Measures the distance between two arrays.
-
distance(Object[], Object[]) - Method in class org.cicirello.sequences.distance.EditDistance
+
distance(long[], long[]) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
-Measures the distance between two arrays of objects.
+Measures the distance between two arrays.
-
distance(List<T>, List<T>) - Method in class org.cicirello.sequences.distance.EditDistance
+
distance(long[], long[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
-Measures the distance between two lists of objects.
+Measures the distance between two arrays.
-
distance(int[], int[]) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
+
distance(short[], short[]) - Method in class org.cicirello.sequences.distance.EditDistance
Measures the distance between two arrays.
-
distance(long[], long[]) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
+
distance(short[], short[]) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
Measures the distance between two arrays.
-
distance(short[], short[]) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
+
distance(short[], short[]) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
Measures the distance between two arrays.
-
distance(byte[], byte[]) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
+
distance(short[], short[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
Measures the distance between two arrays.
-
distance(char[], char[]) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
+
distance(Object[], Object[]) - Method in class org.cicirello.sequences.distance.EditDistance
-Measures the distance between two arrays.
+Measures the distance between two arrays of objects.
-
distance(boolean[], boolean[]) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
+
distance(Object[], Object[]) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
-Measures the distance between two arrays.
+Measures the distance between two arrays of objects.
-
distance(double[], double[]) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
+
distance(Object[], Object[]) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
-Measures the distance between two arrays.
+Measures the distance between two arrays of objects.
-
distance(float[], float[]) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
+
distance(Object[], Object[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
-Measures the distance between two arrays.
+Measures the distance between two arrays of objects.
-
distance(String, String) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
+
distance(String, String) - Method in class org.cicirello.sequences.distance.EditDistance
Measures the distance between two Strings.
-
distance(Object[], Object[]) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
+
distance(String, String) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
-Measures the distance between two arrays of objects.
+Measures the distance between two Strings.
-
distance(List<T>, List<T>) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
+
distance(String, String) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
-Measures the distance between two lists of objects.
+Measures the distance between two Strings.
-
distance(int[], int[]) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
+
distance(String, String) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
-Measures the distance between two arrays.
+Measures the distance between two Strings.
-
distance(long[], long[]) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
+
distance(List<T>, List<T>) - Method in class org.cicirello.sequences.distance.EditDistance
-Measures the distance between two arrays.
+Measures the distance between two lists of objects.
-
distance(short[], short[]) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
+
distance(List<T>, List<T>) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
-Measures the distance between two arrays.
+Measures the distance between two lists of objects.
-
distance(byte[], byte[]) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
+
distance(List<T>, List<T>) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
-Measures the distance between two arrays.
+Measures the distance between two lists of objects.
-
distance(char[], char[]) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
+
distance(List<T>, List<T>) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
-Measures the distance between two arrays.
+Measures the distance between two lists of objects.
-
distance(String, String) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
+
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.AcyclicEdgeDistance
-Measures the distance between two Strings.
+Measures the distance between two permutations.
-
distance(float[], float[]) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
+
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.BlockInterchangeDistance
-Measures the distance between two arrays.
+Measures the distance between two permutations.
-
distance(double[], double[]) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
+
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.CyclicEdgeDistance
-Measures the distance between two arrays.
+Measures the distance between two permutations.
-
distance(boolean[], boolean[]) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
+
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.CyclicIndependentDistance
-Measures the distance between two arrays.
+Measures the distance between two permutations, with cyclic independence:
+ distance = min_{i in [0,N)} distance(p1,rotate(p2,i))
-
distance(Object[], Object[]) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
+
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.CyclicReversalIndependentDistance
-Measures the distance between two arrays of objects.
+Measures the distance between two permutations, with cyclic and reversal independence:
+ distance = min_{i in [0,N)} { distance(p1,rotate(p2,i)), distance(p1,rotate(reverse(p2),i)) }
-
distance(List<T>, List<T>) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
+
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.CyclicRTypeDistance
-Measures the distance between two lists of objects.
+Measures the distance between two permutations.
-
distance(long[], long[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
+
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.DeviationDistance
-Measures the distance between two arrays.
+Measures the distance between two permutations.
-
distance(int[], int[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
+
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.ExactMatchDistance
-Measures the distance between two arrays.
+Measures the distance between two permutations.
-
distance(short[], short[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
+
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.InterchangeDistance
-Measures the distance between two arrays.
+Measures the distance between two permutations.
-
distance(byte[], byte[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
+
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.KendallTauDistance
-Measures the distance between two arrays.
+Measures the distance between two permutations.
-
distance(char[], char[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
+
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.LeeDistance
-Measures the distance between two arrays.
+Measures the distance between two permutations.
-
distance(double[], double[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
+
distance(Permutation, Permutation) - Method in interface org.cicirello.permutations.distance.PermutationDistanceMeasurer
-Measures the distance between two arrays.
+Measures the distance between two permutations.
-
distance(float[], float[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
+
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.ReinsertionDistance
-Measures the distance between two arrays.
+Measures the distance between two permutations.
-
distance(boolean[], boolean[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
+
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.ReversalDistance
-Measures the distance between two arrays.
+Measures the distance between two permutations.
-
distance(String, String) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
+
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.ReversalIndependentDistance
-Measures the distance between two Strings.
+Measures the distance between two permutations, with reversal independence:
+ distance = min { distance(p1,p2), distance(p1,reverse(p2)) }
-
distance(Object[], Object[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
+
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.RTypeDistance
-Measures the distance between two arrays of objects.
+Measures the distance between two permutations.
-
distance(List<T>, List<T>) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
+
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.ScrambleDistance
-Measures the distance between two lists of objects.
+Measures the distance between two permutations.
-
distancef(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.CyclicIndependentDistance
+
distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.SquaredDeviationDistance
-Measures the distance between two permutations
+Measures the distance between two permutations.
-
distancef(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.CyclicIndependentDistanceDouble
+
distancef(boolean[], boolean[]) - Method in class org.cicirello.sequences.distance.EditDistance
-Measures the distance between two permutations, with cyclic independence:
- distance = min_{i in [0,N)} distance(p1,rotate(p2,i))
+Measures the distance between two arrays.
-
distancef(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.CyclicReversalIndependentDistance
+
distancef(boolean[], boolean[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
-Measures the distance between two permutations
+Measures the distance between two arrays.
-
distancef(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.CyclicReversalIndependentDistanceDouble
+
distancef(byte[], byte[]) - Method in class org.cicirello.sequences.distance.EditDistance
-Measures the distance between two permutations, with cyclic and reversal independence:
- distance = min_{i in [0,N)} { distance(p1,rotate(p2,i)), distance(p1,rotate(reverse(p2),i)) }
+Measures the distance between two arrays.
-
distancef(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.DeviationDistanceNormalized
+
distancef(byte[], byte[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
-Measures the distance between two permutations
+Measures the distance between two arrays.
-
distancef(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.DeviationDistanceNormalized2005
+
distancef(char[], char[]) - Method in class org.cicirello.sequences.distance.EditDistance
-Measures the distance between two permutations
+Measures the distance between two arrays.
-
distancef(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.EditDistance
+
distancef(char[], char[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
-Measures the distance between two permutations
+Measures the distance between two arrays.
-
distancef(Permutation, Permutation) - Method in interface org.cicirello.permutations.distance.PermutationDistanceMeasurerDouble
+
distancef(double[], double[]) - Method in class org.cicirello.sequences.distance.EditDistance
-Measures the distance between two permutations
+Measures the distance between two arrays.
-
distancef(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.ReversalIndependentDistance
+
distancef(double[], double[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
-Measures the distance between two permutations
+Measures the distance between two arrays.
-
distancef(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.ReversalIndependentDistanceDouble
+
distancef(float[], float[]) - Method in class org.cicirello.sequences.distance.EditDistance
-Measures the distance between two permutations, with reversal independence:
- distance = min { distance(p1,p2), distance(p1,reverse(p2)) }
+Measures the distance between two arrays.
-
distancef(int[], int[]) - Method in class org.cicirello.sequences.distance.EditDistance
+
distancef(float[], float[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
Measures the distance between two arrays.
-
distancef(long[], long[]) - Method in class org.cicirello.sequences.distance.EditDistance
+
distancef(int[], int[]) - Method in class org.cicirello.sequences.distance.EditDistance
Measures the distance between two arrays.
-
distancef(short[], short[]) - Method in class org.cicirello.sequences.distance.EditDistance
+
distancef(int[], int[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
Measures the distance between two arrays.
-
distancef(byte[], byte[]) - Method in class org.cicirello.sequences.distance.EditDistance
+
distancef(long[], long[]) - Method in class org.cicirello.sequences.distance.EditDistance
Measures the distance between two arrays.
-
distancef(char[], char[]) - Method in class org.cicirello.sequences.distance.EditDistance
+
distancef(long[], long[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
Measures the distance between two arrays.
-
distancef(boolean[], boolean[]) - Method in class org.cicirello.sequences.distance.EditDistance
+
distancef(short[], short[]) - Method in class org.cicirello.sequences.distance.EditDistance
Measures the distance between two arrays.
-
distancef(double[], double[]) - Method in class org.cicirello.sequences.distance.EditDistance
+
distancef(short[], short[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
Measures the distance between two arrays.
-
distancef(float[], float[]) - Method in class org.cicirello.sequences.distance.EditDistance
+
distancef(Object[], Object[]) - Method in class org.cicirello.sequences.distance.EditDistance
-Measures the distance between two arrays.
+Measures the distance between two arrays of objects.
-
distancef(String, String) - Method in class org.cicirello.sequences.distance.EditDistance
+
distancef(Object[], Object[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
+
+Measures the distance between two arrays of objects.
+
+
distancef(String, String) - Method in class org.cicirello.sequences.distance.EditDistance
Measures the distance between two Strings.
-
distancef(Object[], Object[]) - Method in class org.cicirello.sequences.distance.EditDistance
+
distancef(String, String) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
-Measures the distance between two arrays of objects.
+Measures the distance between two Strings.
-
distancef(List<T>, List<T>) - Method in class org.cicirello.sequences.distance.EditDistance
+
distancef(List<T>, List<T>) - Method in class org.cicirello.sequences.distance.EditDistance
Measures the distance between two lists of objects.
-
distancef(long[], long[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
+
distancef(List<T>, List<T>) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
-Measures the distance between two arrays.
+Measures the distance between two lists of objects.
-
distancef(int[], int[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
+
distancef(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.CyclicIndependentDistance
-Measures the distance between two arrays.
+Measures the distance between two permutations
-
distancef(short[], short[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
+
distancef(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.CyclicIndependentDistanceDouble
-Measures the distance between two arrays.
+Measures the distance between two permutations, with cyclic independence:
+ distance = min_{i in [0,N)} distance(p1,rotate(p2,i))
-
distancef(byte[], byte[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
+
distancef(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.CyclicReversalIndependentDistance
-Measures the distance between two arrays.
+Measures the distance between two permutations
-
distancef(char[], char[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
+
distancef(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.CyclicReversalIndependentDistanceDouble
-Measures the distance between two arrays.
+Measures the distance between two permutations, with cyclic and reversal independence:
+ distance = min_{i in [0,N)} { distance(p1,rotate(p2,i)), distance(p1,rotate(reverse(p2),i)) }
-
distancef(double[], double[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
+
distancef(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.DeviationDistanceNormalized
-Measures the distance between two arrays.
+Measures the distance between two permutations
-
distancef(float[], float[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
+
distancef(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.DeviationDistanceNormalized2005
-Measures the distance between two arrays.
+Measures the distance between two permutations
-
distancef(boolean[], boolean[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
+
distancef(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.EditDistance
-Measures the distance between two arrays.
+Measures the distance between two permutations
-
distancef(String, String) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
+
distancef(Permutation, Permutation) - Method in interface org.cicirello.permutations.distance.PermutationDistanceMeasurerDouble
-Measures the distance between two Strings.
+Measures the distance between two permutations
-
distancef(Object[], Object[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
+
distancef(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.ReversalIndependentDistance
-Measures the distance between two arrays of objects.
+Measures the distance between two permutations
-
distancef(List<T>, List<T>) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
+
distancef(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.ReversalIndependentDistanceDouble
-Measures the distance between two lists of objects.
+Measures the distance between two permutations, with reversal independence:
+ distance = min { distance(p1,p2), distance(p1,reverse(p2)) }
-
+
E
@@ -685,32 +710,32 @@
E
Edit Distance:
-
EditDistance(double, double, double) - Constructor for class org.cicirello.permutations.distance.EditDistance
+
EditDistance - Class in org.cicirello.sequences.distance
-Constructs an EditDistance function.
+EditDistance is an implementation of Wagner and Fischer's dynamic programming algorithm for computing string edit distance.
-
EditDistance() - Constructor for class org.cicirello.permutations.distance.EditDistance
+
EditDistance() - Constructor for class org.cicirello.permutations.distance.EditDistance
Default edit distance computes number of remove and reinsert operations to
transform one permutation into the other.
-
EditDistance - Class in org.cicirello.sequences.distance
+
EditDistance(double, double, double) - Constructor for class org.cicirello.permutations.distance.EditDistance
-EditDistance is an implementation of Wagner and Fischer's dynamic programming algorithm for computing string edit distance.
+Constructs an EditDistance function.
-
EditDistance(double, double, double) - Constructor for class org.cicirello.sequences.distance.EditDistance
+
EditDistance(double, double, double) - Constructor for class org.cicirello.sequences.distance.EditDistance
Constructs an edit distance measure with the specified edit operation costs.
-
EditDistance(int, int, int) - Constructor for class org.cicirello.sequences.distance.EditDistance
+
EditDistance(int, int, int) - Constructor for class org.cicirello.sequences.distance.EditDistance
Constructs an edit distance measure with the specified edit operation costs.
-
eigenvalues() - Method in class org.cicirello.math.la.JacobiDiagonalization
+
eigenvalues() - Method in class org.cicirello.math.la.JacobiDiagonalization
Gets the computed eigenvalues.
-
eigenvectors() - Method in class org.cicirello.math.la.JacobiDiagonalization
+
eigenvectors() - Method in class org.cicirello.math.la.JacobiDiagonalization
Gets the computed eigenvectors.
@@ -718,7 +743,7 @@
E
Default precision level for convergence check.
-
equals(Object) - Method in class org.cicirello.permutations.Permutation
+
equals(Object) - Method in class org.cicirello.permutations.Permutation
Equality test: Two permutations are equal if they are of
the same length and contain the same elements in the same order.
@@ -727,58 +752,58 @@ E
Exact Match Distance:
-ExactMatchDistance() - Constructor for class org.cicirello.permutations.distance.ExactMatchDistance
-
-Constructs the distance measurer as specified in the class documentation.
-
ExactMatchDistance - Class in org.cicirello.sequences.distance
ExactMatch distance (or Hamming Distance) of a pair of non-binary strings (or more generally sequences) is the number of
sequence (or string) positions where the two sequences differ.
-
ExactMatchDistance() - Constructor for class org.cicirello.sequences.distance.ExactMatchDistance
+
ExactMatchDistance() - Constructor for class org.cicirello.permutations.distance.ExactMatchDistance
+
+Constructs the distance measurer as specified in the class documentation.
+
+
ExactMatchDistance() - Constructor for class org.cicirello.sequences.distance.ExactMatchDistance
Constructs the distance measurer as specified in the class documentation.
-
+
G
-- get(int) - Method in class org.cicirello.permutations.Permutation
+- get(int) - Method in class org.cicirello.permutations.Permutation
-
Retrieves the i'th integer of the permutation.
-- get(int, int) - Method in class org.cicirello.permutations.Permutation
+- get(int, int) - Method in class org.cicirello.permutations.Permutation
-
Retrieves a range of elements from the permutation.
-- get(int, int, int[]) - Method in class org.cicirello.permutations.Permutation
+- get(int, int, int[]) - Method in class org.cicirello.permutations.Permutation
-
Retrieves a range of elements from the permutation.
-- getInverse() - Method in class org.cicirello.permutations.Permutation
+- getInverse() - Method in class org.cicirello.permutations.Permutation
-
Computes the inverse of the permutation.
-- getInversePermutation() - Method in class org.cicirello.permutations.Permutation
+- getInversePermutation() - Method in class org.cicirello.permutations.Permutation
-
Computes a Permutation that is the inverse of this Permutation.
-
+
H
-- hashCode() - Method in class org.cicirello.permutations.Permutation
+- hashCode() - Method in class org.cicirello.permutations.Permutation
-
Uses Java's Arrays class's method for generating a hashCode from an array of ints.
-- hasNext() - Method in class org.cicirello.permutations.PermutationIterator
+- hasNext() - Method in class org.cicirello.permutations.PermutationIterator
-
+
I
@@ -787,22 +812,22 @@
I
Interchange Distance:
-
InterchangeDistance() - Constructor for class org.cicirello.permutations.distance.InterchangeDistance
+
InterchangeDistance() - Constructor for class org.cicirello.permutations.distance.InterchangeDistance
Constructs the distance measurer as specified in the class documentation.
-
invert() - Method in class org.cicirello.permutations.Permutation
+
invert() - Method in class org.cicirello.permutations.Permutation
Inverts the Permutation, such that if p1 is the Permutation immediately
prior to the call to invert, and if p2 is the Permutation immediately after
the call to invert, then p1.get(i) == j iff p2.get(j) == i, for all i, j.
-
iterator() - Method in class org.cicirello.permutations.Permutation
+
iterator() - Method in class org.cicirello.permutations.Permutation
Returns an Iterator over all Permutations the length of this Permutation.
-
+
J
@@ -811,16 +836,16 @@
J
This class uses Jacobi iteration to compute the eigenvalues and eigenvectors of a symmetric matrix, provided as a 2-D Java array.
-
JacobiDiagonalization(int[][]) - Constructor for class org.cicirello.math.la.JacobiDiagonalization
+
JacobiDiagonalization(double[][]) - Constructor for class org.cicirello.math.la.JacobiDiagonalization
Initializes a Jacobi iteration for finding eigenvalues and eigenvectors of a matrix.
-
JacobiDiagonalization(double[][]) - Constructor for class org.cicirello.math.la.JacobiDiagonalization
+
JacobiDiagonalization(int[][]) - Constructor for class org.cicirello.math.la.JacobiDiagonalization
Initializes a Jacobi iteration for finding eigenvalues and eigenvectors of a matrix.
-
+
K
@@ -829,7 +854,7 @@
K
Kendall Tau Distance:
-
KendallTauDistance() - Constructor for class org.cicirello.permutations.distance.KendallTauDistance
+
KendallTauDistance() - Constructor for class org.cicirello.permutations.distance.KendallTauDistance
Constructs the distance measurer as specified in the class documentation.
@@ -838,16 +863,16 @@
K
Kendall Tau Sequence Distance is
the minimum number of adjacent swaps necessary to transform one sequence into the other.
-
KendallTauSequenceDistance() - Constructor for class org.cicirello.sequences.distance.KendallTauSequenceDistance
+
KendallTauSequenceDistance() - Constructor for class org.cicirello.sequences.distance.KendallTauSequenceDistance
The KendallTauDistance class provides two algorithms.
-
KendallTauSequenceDistance(boolean) - Constructor for class org.cicirello.sequences.distance.KendallTauSequenceDistance
+
KendallTauSequenceDistance(boolean) - Constructor for class org.cicirello.sequences.distance.KendallTauSequenceDistance
The KendallTauDistance class provides two algorithms.
-
+
L
@@ -856,15 +881,15 @@
L
Lee Distance:
-
LeeDistance() - Constructor for class org.cicirello.permutations.distance.LeeDistance
+
LeeDistance() - Constructor for class org.cicirello.permutations.distance.LeeDistance
Constructs the distance measurer as specified in the class documentation.
-
length() - Method in class org.cicirello.permutations.Permutation
+
length() - Method in class org.cicirello.permutations.Permutation
Retrieves the length of the permutation.
-
logGamma(double) - Static method in class org.cicirello.math.MathFunctions
+
logGamma(double) - Static method in class org.cicirello.math.MathFunctions
Implementation of the natural log of the absolute value of
the gamma function.
@@ -874,12 +899,12 @@ L
LongestCommonSubsequenceDistance is a form of EditDistance, where the edit operations are limited to
deletions and insertions (i.e., no replacements or changes), and where the cost of an edit operation is simply 1.
-
LongestCommonSubsequenceDistance() - Constructor for class org.cicirello.sequences.distance.LongestCommonSubsequenceDistance
+
LongestCommonSubsequenceDistance() - Constructor for class org.cicirello.sequences.distance.LongestCommonSubsequenceDistance
Constructs a longest common subsequence distance.
-
+
M
@@ -893,77 +918,77 @@
M
Utility class of basic linear algebra matrix operations, where matrices are
represented as 2-D Java arrays.
-
max(int) - Method in class org.cicirello.permutations.distance.AcyclicEdgeDistance
+
max(int) - Method in class org.cicirello.permutations.distance.AcyclicEdgeDistance
Computes the maximum possible distance between permutations
of a specified length.
-
max(int) - Method in class org.cicirello.permutations.distance.BlockInterchangeDistance
+
max(int) - Method in class org.cicirello.permutations.distance.BlockInterchangeDistance
Computes the maximum possible distance between permutations
of a specified length.
-
max(int) - Method in class org.cicirello.permutations.distance.CyclicEdgeDistance
+
max(int) - Method in class org.cicirello.permutations.distance.CyclicEdgeDistance
Computes the maximum possible distance between permutations
of a specified length.
-
max(int) - Method in class org.cicirello.permutations.distance.CyclicRTypeDistance
+
max(int) - Method in class org.cicirello.permutations.distance.CyclicRTypeDistance
Computes the maximum possible distance between permutations
of a specified length.
-
max(int) - Method in class org.cicirello.permutations.distance.DeviationDistance
+
max(int) - Method in class org.cicirello.permutations.distance.DeviationDistance
Computes the maximum possible distance between permutations
of a specified length.
-
max(int) - Method in class org.cicirello.permutations.distance.ExactMatchDistance
+
max(int) - Method in class org.cicirello.permutations.distance.ExactMatchDistance
Computes the maximum possible distance between permutations
of a specified length.
-
max(int) - Method in class org.cicirello.permutations.distance.InterchangeDistance
+
max(int) - Method in class org.cicirello.permutations.distance.InterchangeDistance
Computes the maximum possible distance between permutations
of a specified length.
-
max(int) - Method in class org.cicirello.permutations.distance.KendallTauDistance
+
max(int) - Method in class org.cicirello.permutations.distance.KendallTauDistance
Computes the maximum possible distance between permutations
of a specified length.
-
max(int) - Method in class org.cicirello.permutations.distance.LeeDistance
+
max(int) - Method in class org.cicirello.permutations.distance.LeeDistance
Computes the maximum possible distance between permutations
of a specified length.
-
max(int) - Method in interface org.cicirello.permutations.distance.NormalizedPermutationDistanceMeasurer
+
max(int) - Method in interface org.cicirello.permutations.distance.NormalizedPermutationDistanceMeasurer
Computes the maximum possible distance between permutations
of a specified length.
-
max(int) - Method in class org.cicirello.permutations.distance.ReinsertionDistance
+
max(int) - Method in class org.cicirello.permutations.distance.ReinsertionDistance
Computes the maximum possible distance between permutations
of a specified length.
-
max(int) - Method in class org.cicirello.permutations.distance.ReversalDistance
+
max(int) - Method in class org.cicirello.permutations.distance.ReversalDistance
Computes the maximum possible distance between permutations
of a specified length.
-
max(int) - Method in class org.cicirello.permutations.distance.RTypeDistance
+
max(int) - Method in class org.cicirello.permutations.distance.RTypeDistance
Computes the maximum possible distance between permutations
of a specified length.
-
max(int) - Method in class org.cicirello.permutations.distance.ScrambleDistance
+
max(int) - Method in class org.cicirello.permutations.distance.ScrambleDistance
Computes the maximum possible distance between permutations
of a specified length.
-
max(int) - Method in class org.cicirello.permutations.distance.SquaredDeviationDistance
+
max(int) - Method in class org.cicirello.permutations.distance.SquaredDeviationDistance
Computes the maximum possible distance between permutations
of a specified length.
@@ -972,208 +997,208 @@ M
Default max number of iterations.
-maxf(int) - Method in class org.cicirello.permutations.distance.DeviationDistanceNormalized
+
maxf(int) - Method in class org.cicirello.permutations.distance.DeviationDistanceNormalized
Computes the maximum possible distance between permutations
of a specified length.
-
maxf(int) - Method in class org.cicirello.permutations.distance.DeviationDistanceNormalized2005
+
maxf(int) - Method in class org.cicirello.permutations.distance.DeviationDistanceNormalized2005
Computes the maximum possible distance between permutations
of a specified length.
-
maxf(int) - Method in interface org.cicirello.permutations.distance.NormalizedPermutationDistanceMeasurerDouble
+
maxf(int) - Method in interface org.cicirello.permutations.distance.NormalizedPermutationDistanceMeasurerDouble
Computes the maximum possible distance between permutations
of a specified length.
-
mean(int[]) - Static method in class org.cicirello.math.stats.Statistics
+
mean(double[]) - Static method in class org.cicirello.math.stats.Statistics
Computes mean of a dataset.
-
mean(double[]) - Static method in class org.cicirello.math.stats.Statistics
+
mean(int[]) - Static method in class org.cicirello.math.stats.Statistics
Computes mean of a dataset.
-
Mechanic() - Constructor for class org.cicirello.permutations.Permutation.Mechanic
+
Mechanic() - Constructor for class org.cicirello.permutations.Permutation.Mechanic
The default constructor can only be called by subclasses.
-
+
N
-- next() - Method in class org.cicirello.permutations.PermutationIterator
-- nextBiasedInt(int) - Static method in class org.cicirello.math.rand.RandomIndexer
+- next() - Method in class org.cicirello.permutations.PermutationIterator
+- nextBiasedInt(int) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random integer in the interval: [0, bound).
-- nextBiasedInt(int, SplittableRandom) - Static method in class org.cicirello.math.rand.RandomIndexer
+- nextBiasedInt(int, Random) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random integer in the interval: [0, bound).
-- nextBiasedInt(int, Random) - Static method in class org.cicirello.math.rand.RandomIndexer
+- nextBiasedInt(int, SplittableRandom) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random integer in the interval: [0, bound).
-- nextBinomial(int, double) - Static method in class org.cicirello.math.rand.RandomVariates
+- nextBinomial(int, double) - Static method in class org.cicirello.math.rand.RandomVariates
-
Generates a pseudorandom integer from a binomial distribution.
-- nextBinomial(int, double, Random) - Static method in class org.cicirello.math.rand.RandomVariates
+- nextBinomial(int, double, Random) - Static method in class org.cicirello.math.rand.RandomVariates
-
Generates a pseudorandom integer from a binomial distribution.
-- nextBinomial(int, double, SplittableRandom) - Static method in class org.cicirello.math.rand.RandomVariates
+- nextBinomial(int, double, SplittableRandom) - Static method in class org.cicirello.math.rand.RandomVariates
-
Generates a pseudorandom integer from a binomial distribution.
-- nextCauchy(double, double) - Static method in class org.cicirello.math.rand.RandomVariates
--
-
Generates a pseudorandom number from a Cauchy distribution.
-
-- nextCauchy(double) - Static method in class org.cicirello.math.rand.RandomVariates
+- nextCauchy(double) - Static method in class org.cicirello.math.rand.RandomVariates
-
Generates a pseudorandom number from a Cauchy distribution with median 0
and chosen scale parameter.
-- nextCauchy(double, double, Random) - Static method in class org.cicirello.math.rand.RandomVariates
+- nextCauchy(double, double) - Static method in class org.cicirello.math.rand.RandomVariates
-
Generates a pseudorandom number from a Cauchy distribution.
-- nextCauchy(double, Random) - Static method in class org.cicirello.math.rand.RandomVariates
+- nextCauchy(double, double, Random) - Static method in class org.cicirello.math.rand.RandomVariates
-
-
Generates a pseudorandom number from a Cauchy distribution with median 0
- and chosen scale parameter.
+Generates a pseudorandom number from a Cauchy distribution.
-- nextCauchy(double, double, SplittableRandom) - Static method in class org.cicirello.math.rand.RandomVariates
+- nextCauchy(double, double, SplittableRandom) - Static method in class org.cicirello.math.rand.RandomVariates
-
Generates a pseudorandom number from a Cauchy distribution.
-- nextCauchy(double, SplittableRandom) - Static method in class org.cicirello.math.rand.RandomVariates
+- nextCauchy(double, Random) - Static method in class org.cicirello.math.rand.RandomVariates
-
Generates a pseudorandom number from a Cauchy distribution with median 0
and chosen scale parameter.
-- nextInt(int) - Static method in class org.cicirello.math.rand.RandomIndexer
+- nextCauchy(double, SplittableRandom) - Static method in class org.cicirello.math.rand.RandomVariates
+-
+
Generates a pseudorandom number from a Cauchy distribution with median 0
+ and chosen scale parameter.
+
+- nextInt(int) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random integer uniformly distributed in the interval: [0, bound).
-- nextInt(int, SplittableRandom) - Static method in class org.cicirello.math.rand.RandomIndexer
+- nextInt(int, Random) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random integer uniformly distributed in the interval: [0, bound).
-- nextInt(int, Random) - Static method in class org.cicirello.math.rand.RandomIndexer
+- nextInt(int, SplittableRandom) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random integer uniformly distributed in the interval: [0, bound).
-- nextIntPair(int, int[]) - Static method in class org.cicirello.math.rand.RandomIndexer
+- nextIntPair(int, int[]) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of 2 integers, without replacement, from the
set of integers in the interval [0, n).
-- nextIntPair(int, int[], SplittableRandom) - Static method in class org.cicirello.math.rand.RandomIndexer
+- nextIntPair(int, int[], Random) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of 2 integers, without replacement, from the
set of integers in the interval [0, n).
-- nextIntPair(int, int[], Random) - Static method in class org.cicirello.math.rand.RandomIndexer
+- nextIntPair(int, int[], SplittableRandom) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of 2 integers, without replacement, from the
set of integers in the interval [0, n).
-- nextIntTriple(int, int[]) - Static method in class org.cicirello.math.rand.RandomIndexer
+- nextIntTriple(int, int[]) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of 3 integers, without replacement, from the
set of integers in the interval [0, n).
-- nextIntTriple(int, int[], boolean) - Static method in class org.cicirello.math.rand.RandomIndexer
+- nextIntTriple(int, int[], boolean) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of 3 integers, without replacement, from the
set of integers in the interval [0, n).
-- nextIntTriple(int, int[], boolean, SplittableRandom) - Static method in class org.cicirello.math.rand.RandomIndexer
+- nextIntTriple(int, int[], boolean, Random) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of 3 integers, without replacement, from the
set of integers in the interval [0, n).
-- nextIntTriple(int, int[], boolean, Random) - Static method in class org.cicirello.math.rand.RandomIndexer
+- nextIntTriple(int, int[], boolean, SplittableRandom) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of 3 integers, without replacement, from the
set of integers in the interval [0, n).
-- nextIntTriple(int, int[], SplittableRandom) - Static method in class org.cicirello.math.rand.RandomIndexer
+- nextIntTriple(int, int[], Random) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of 3 integers, without replacement, from the
set of integers in the interval [0, n).
-- nextIntTriple(int, int[], Random) - Static method in class org.cicirello.math.rand.RandomIndexer
+- nextIntTriple(int, int[], SplittableRandom) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of 3 integers, without replacement, from the
set of integers in the interval [0, n).
-- nextWindowedIntPair(int, int, int[]) - Static method in class org.cicirello.math.rand.RandomIndexer
+- nextWindowedIntPair(int, int, int[]) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of 2 integers, i, j, without replacement, from the
set of integers in the interval [0, n), such that |i-j| ≤ window.
-- nextWindowedIntPair(int, int, int[], SplittableRandom) - Static method in class org.cicirello.math.rand.RandomIndexer
+- nextWindowedIntPair(int, int, int[], Random) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of 2 integers, i, j, without replacement, from the
set of integers in the interval [0, n), such that |i-j| ≤ window.
-- nextWindowedIntPair(int, int, int[], Random) - Static method in class org.cicirello.math.rand.RandomIndexer
+- nextWindowedIntPair(int, int, int[], SplittableRandom) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of 2 integers, i, j, without replacement, from the
set of integers in the interval [0, n), such that |i-j| ≤ window.
-- nextWindowedIntTriple(int, int, int[]) - Static method in class org.cicirello.math.rand.RandomIndexer
+- nextWindowedIntTriple(int, int, int[]) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of 3 integers, i, j, k without replacement, from the
set of integers in the interval [0, n), such that |i-j| ≤ window, and
|i-k| ≤ window, and |k-j| ≤ window.
-- nextWindowedIntTriple(int, int, int[], boolean) - Static method in class org.cicirello.math.rand.RandomIndexer
+- nextWindowedIntTriple(int, int, int[], boolean) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of 3 integers, i, j, k without replacement, from the
set of integers in the interval [0, n), such that |i-j| ≤ window, and
|i-k| ≤ window, and |k-j| ≤ window.
-- nextWindowedIntTriple(int, int, int[], SplittableRandom) - Static method in class org.cicirello.math.rand.RandomIndexer
+- nextWindowedIntTriple(int, int, int[], boolean, Random) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of 3 integers, i, j, k without replacement, from the
set of integers in the interval [0, n), such that |i-j| ≤ window, and
|i-k| ≤ window, and |k-j| ≤ window.
-- nextWindowedIntTriple(int, int, int[], boolean, SplittableRandom) - Static method in class org.cicirello.math.rand.RandomIndexer
+- nextWindowedIntTriple(int, int, int[], boolean, SplittableRandom) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of 3 integers, i, j, k without replacement, from the
set of integers in the interval [0, n), such that |i-j| ≤ window, and
|i-k| ≤ window, and |k-j| ≤ window.
-- nextWindowedIntTriple(int, int, int[], Random) - Static method in class org.cicirello.math.rand.RandomIndexer
+- nextWindowedIntTriple(int, int, int[], Random) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of 3 integers, i, j, k without replacement, from the
set of integers in the interval [0, n), such that |i-j| ≤ window, and
|i-k| ≤ window, and |k-j| ≤ window.
-- nextWindowedIntTriple(int, int, int[], boolean, Random) - Static method in class org.cicirello.math.rand.RandomIndexer
+- nextWindowedIntTriple(int, int, int[], SplittableRandom) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of 3 integers, i, j, k without replacement, from the
set of integers in the interval [0, n), such that |i-j| ≤ window, and
|i-k| ≤ window, and |k-j| ≤ window.
-- normalizedDistance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.DeviationDistanceNormalized
+- normalizedDistance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.DeviationDistanceNormalized
-
Measures the distance between two permutations, normalized to the interval [0.0, 1.0].
-- normalizedDistance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.DeviationDistanceNormalized2005
+- normalizedDistance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.DeviationDistanceNormalized2005
-
Measures the distance between two permutations, normalized to the interval [0.0, 1.0].
-- normalizedDistance(Permutation, Permutation) - Method in interface org.cicirello.permutations.distance.NormalizedPermutationDistanceMeasurerDouble
+- normalizedDistance(Permutation, Permutation) - Method in interface org.cicirello.permutations.distance.NormalizedPermutationDistanceMeasurerDouble
-
Measures the distance between two permutations, normalized to the interval [0.0, 1.0].
@@ -1188,7 +1213,7 @@ N
normalizing the distance to the interval [0,1].