- DeviationDistance - Class in org.cicirello.permutations.distance
-
Deviation Distance:
- DeviationDistance() - Constructor for class org.cicirello.permutations.distance.DeviationDistance
-
Constructs the distance measurer as specified in the class documentation.
- DeviationDistanceNormalized - Class in org.cicirello.permutations.distance
-
Normalized Deviation Distance:
- DeviationDistanceNormalized() - Constructor for class org.cicirello.permutations.distance.DeviationDistanceNormalized
-
Constructs the distance measurer as specified in the class documentation.
- DeviationDistanceNormalized2005 - Class in org.cicirello.permutations.distance
-
Normalized Deviation Distance:
- 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
-
Computes C = A - B.
- 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
-
Computes C = A - B.
- difference(double[][], double[][]) - Static method in class org.cicirello.math.la.MatrixOps
-
Computes C = A - B.
- distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.AcyclicEdgeDistance
-
Measures the distance between two permutations.
- distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.BlockInterchangeDistance
-
Measures the distance between two permutations.
- distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.CyclicEdgeDistance
-
Measures the distance between two permutations.
- distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.CyclicIndependentDistance
-
Measures the distance between two permutations, with cyclic independence:
distance = min_{i in [0,N)} distance(p1,rotate(p2,i))
- distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.CyclicReversalIndependentDistance
-
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(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.CyclicRTypeDistance
-
Measures the distance between two permutations.
- distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.DeviationDistance
-
Measures the distance between two permutations.
- distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.ExactMatchDistance
-
Measures the distance between two permutations.
- distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.InterchangeDistance
-
Measures the distance between two permutations.
- distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.KendallTauDistance
-
Measures the distance between two permutations.
- distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.LeeDistance
-
Measures the distance between two permutations.
- distance(Permutation, Permutation) - Method in interface org.cicirello.permutations.distance.PermutationDistanceMeasurer
-
Measures the distance between two permutations.
- distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.ReinsertionDistance
-
Measures the distance between two permutations.
- distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.ReversalDistance
-
Measures the distance between two permutations.
- distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.ReversalIndependentDistance
-
Measures the distance between two permutations, with reversal independence:
distance = min { distance(p1,p2), distance(p1,reverse(p2)) }
- distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.RTypeDistance
-
Measures the distance between two permutations.
- distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.ScrambleDistance
-
Measures the distance between two permutations.
- distance(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.SquaredDeviationDistance
-
Measures the distance between two permutations.
- distance(int[], int[]) - Method in class org.cicirello.sequences.distance.EditDistance
-
Measures the distance between two arrays.
- distance(long[], long[]) - Method in class org.cicirello.sequences.distance.EditDistance
-
Measures the distance between two arrays.
- distance(short[], short[]) - Method in class org.cicirello.sequences.distance.EditDistance
-
Measures the distance between two arrays.
- distance(byte[], byte[]) - 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
-
Measures the distance between two arrays.
- distance(boolean[], boolean[]) - Method in class org.cicirello.sequences.distance.EditDistance
-
Measures the distance between two arrays.
- distance(double[], double[]) - Method in class org.cicirello.sequences.distance.EditDistance
-
Measures the distance between two arrays.
- distance(float[], float[]) - 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
-
Measures the distance between two Strings.
- distance(Object[], Object[]) - Method in class org.cicirello.sequences.distance.EditDistance
-
Measures the distance between two arrays of objects.
- distance(List<T>, List<T>) - Method in class org.cicirello.sequences.distance.EditDistance
-
Measures the distance between two lists of objects.
- distance(int[], int[]) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
-
Measures the distance between two arrays.
- distance(long[], long[]) - 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
-
Measures the distance between two arrays.
- distance(byte[], byte[]) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
-
Measures the distance between two arrays.
- distance(char[], char[]) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
-
Measures the distance between two arrays.
- distance(boolean[], boolean[]) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
-
Measures the distance between two arrays.
- distance(double[], double[]) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
-
Measures the distance between two arrays.
- distance(float[], float[]) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
-
Measures the distance between two arrays.
- distance(String, String) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
-
Measures the distance between two Strings.
- distance(Object[], Object[]) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
-
Measures the distance between two arrays of objects.
- distance(List<T>, List<T>) - Method in class org.cicirello.sequences.distance.ExactMatchDistance
-
Measures the distance between two lists of objects.
- distance(int[], int[]) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
-
Measures the distance between two arrays.
- distance(long[], long[]) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
-
Measures the distance between two arrays.
- 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.KendallTauSequenceDistance
-
Measures the distance between two arrays.
- distance(char[], char[]) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
-
Measures the distance between two arrays.
- distance(String, String) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
-
Measures the distance between two Strings.
- distance(float[], float[]) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
-
Measures the distance between two arrays.
- distance(double[], double[]) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
-
Measures the distance between two arrays.
- distance(boolean[], boolean[]) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
-
Measures the distance between two arrays.
- distance(Object[], Object[]) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
-
Measures the distance between two arrays of objects.
- distance(List<T>, List<T>) - Method in class org.cicirello.sequences.distance.KendallTauSequenceDistance
-
Measures the distance between two lists of objects.
- distance(long[], long[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
-
Measures the distance between two arrays.
- distance(int[], int[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
-
Measures the distance between two arrays.
- distance(short[], short[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
-
Measures the distance between two arrays.
- distance(byte[], byte[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
-
Measures the distance between two arrays.
- distance(char[], char[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
-
Measures the distance between two arrays.
- distance(double[], double[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
-
Measures the distance between two arrays.
- distance(float[], float[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
-
Measures the distance between two arrays.
- distance(boolean[], boolean[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
-
Measures the distance between two arrays.
- distance(String, String) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
-
Measures the distance between two Strings.
- distance(Object[], Object[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
-
Measures the distance between two arrays of objects.
- distance(List<T>, List<T>) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurer
-
Measures the distance between two lists of objects.
- distancef(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.CyclicIndependentDistance
-
Measures the distance between two permutations
- distancef(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.CyclicIndependentDistanceDouble
-
Measures the distance between two permutations, with cyclic independence:
distance = min_{i in [0,N)} distance(p1,rotate(p2,i))
- distancef(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.CyclicReversalIndependentDistance
-
Measures the distance between two permutations
- distancef(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.CyclicReversalIndependentDistanceDouble
-
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(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.DeviationDistanceNormalized
-
Measures the distance between two permutations
- distancef(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.DeviationDistanceNormalized2005
-
Measures the distance between two permutations
- distancef(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.EditDistance
-
Measures the distance between two permutations
- distancef(Permutation, Permutation) - Method in interface org.cicirello.permutations.distance.PermutationDistanceMeasurerDouble
-
Measures the distance between two permutations
- distancef(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.ReversalIndependentDistance
-
Measures the distance between two permutations
- distancef(Permutation, Permutation) - Method in class org.cicirello.permutations.distance.ReversalIndependentDistanceDouble
-
Measures the distance between two permutations, with reversal independence:
distance = min { distance(p1,p2), distance(p1,reverse(p2)) }
- distancef(int[], int[]) - Method in class org.cicirello.sequences.distance.EditDistance
-
Measures the distance between two arrays.
- distancef(long[], long[]) - 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
-
Measures the distance between two arrays.
- distancef(byte[], byte[]) - 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
-
Measures the distance between two arrays.
- distancef(boolean[], boolean[]) - 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
-
Measures the distance between two arrays.
- distancef(float[], float[]) - Method in class org.cicirello.sequences.distance.EditDistance
-
Measures the distance between two arrays.
- 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
-
Measures the distance between two arrays of objects.
- 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
-
Measures the distance between two arrays.
- distancef(int[], int[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
-
Measures the distance between two arrays.
- distancef(short[], short[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
-
Measures the distance between two arrays.
- distancef(byte[], byte[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
-
Measures the distance between two arrays.
- distancef(char[], char[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
-
Measures the distance between two arrays.
- distancef(double[], double[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
-
Measures the distance between two arrays.
- distancef(float[], float[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
-
Measures the distance between two arrays.
- distancef(boolean[], boolean[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
-
Measures the distance between two arrays.
- distancef(String, String) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
-
Measures the distance between two Strings.
- distancef(Object[], Object[]) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
-
Measures the distance between two arrays of objects.
- distancef(List<T>, List<T>) - Method in interface org.cicirello.sequences.distance.SequenceDistanceMeasurerDouble
-
Measures the distance between two lists of objects.
- 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
-
Generates a random integer in the interval: [0, bound).
- nextBiasedInt(int, Random) - 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
-
Generates a pseudorandom integer from a binomial distribution.
- 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
-
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
-
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
-
Generates a pseudorandom number from a Cauchy distribution.
- 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.
- 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
-
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
-
Generates a random integer uniformly distributed in the interval: [0, bound).
- nextInt(int, Random) - 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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
Measures the distance between two permutations, normalized to the interval [0.0, 1.0].
- NormalizedPermutationDistanceMeasurer - Interface in org.cicirello.permutations.distance
-
Implement this interface to define a distance metric for permutations that supports
normalizing the distance to the interval [0,1], but where the base distance is an integer value.
- NormalizedPermutationDistanceMeasurerDouble - Interface in org.cicirello.permutations.distance
-
Implement this interface to define a distance metric for permutations that supports
normalizing the distance to the interval [0,1].
- sample(int, double) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample, without replacement, from the
set of integers in the interval [0, n).
- sample(int, double, SplittableRandom) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample, without replacement, from the
set of integers in the interval [0, n).
- sample(int, double, Random) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample, without replacement, from the
set of integers in the interval [0, n).
- sample(int, int, int[]) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of k integers, without replacement, from the
set of integers in the interval [0, n).
- sample(int, int, int[], SplittableRandom) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of k integers, without replacement, from the
set of integers in the interval [0, n).
- sample(int, int, int[], Random) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of k integers, without replacement, from the
set of integers in the interval [0, n).
- sample(byte[], double) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample, without replacement, from a given source array
with a specified probability of an element's inclusion in the sample.
- sample(char[], double) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample, without replacement, from a given source array
with a specified probability of an element's inclusion in the sample.
- sample(double[], double) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample, without replacement, from a given source array
with a specified probability of an element's inclusion in the sample.
- sample(float[], double) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample, without replacement, from a given source array
with a specified probability of an element's inclusion in the sample.
- sample(int[], double) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample, without replacement, from a given source array
with a specified probability of an element's inclusion in the sample.
- sample(long[], double) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample, without replacement, from a given source array
with a specified probability of an element's inclusion in the sample.
- sample(short[], double) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample, without replacement, from a given source array
with a specified probability of an element's inclusion in the sample.
- sample(String, double) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample, without replacement, from a given String
with a specified probability of a character's inclusion in the sample.
- sample(T[], double) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample, without replacement, from a given source array
with a specified probability of an element's inclusion in the sample.
- sample(int[], int, int[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- sample(long[], int, long[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- sample(short[], int, short[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- sample(byte[], int, byte[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- sample(char[], int, char[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- sample(String, int, char[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k chars, without replacement, from a
given source String.
- sample(double[], int, double[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- sample(float[], int, float[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- sample(T[], int, T[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- sampleInsertion(int, int, int[]) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of k integers, without replacement, from the
set of integers in the interval [0, n).
- sampleInsertion(int, int, int[], SplittableRandom) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of k integers, without replacement, from the
set of integers in the interval [0, n).
- sampleInsertion(int, int, int[], Random) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of k integers, without replacement, from the
set of integers in the interval [0, n).
- sampleInsertion(int[], int, int[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- sampleInsertion(long[], int, long[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- sampleInsertion(short[], int, short[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- sampleInsertion(byte[], int, byte[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- sampleInsertion(char[], int, char[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- sampleInsertion(String, int, char[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k chars, without replacement, from a
given source String.
- sampleInsertion(double[], int, double[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- sampleInsertion(float[], int, float[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- sampleInsertion(T[], int, T[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- samplePool(int, int, int[]) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of k integers, without replacement, from the
set of integers in the interval [0, n).
- samplePool(int, int, int[], SplittableRandom) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of k integers, without replacement, from the
set of integers in the interval [0, n).
- samplePool(int, int, int[], Random) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of k integers, without replacement, from the
set of integers in the interval [0, n).
- samplePool(int[], int, int[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- samplePool(long[], int, long[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- samplePool(short[], int, short[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- samplePool(byte[], int, byte[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- samplePool(char[], int, char[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- samplePool(String, int, char[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k chars, without replacement, from a
given source String.
- samplePool(double[], int, double[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- samplePool(float[], int, float[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- samplePool(T[], int, T[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- sampleReservoir(int, int, int[]) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of k integers, without replacement, from the
set of integers in the interval [0, n).
- sampleReservoir(int, int, int[], Random) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of k integers, without replacement, from the
set of integers in the interval [0, n).
- sampleReservoir(int, int, int[], SplittableRandom) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of k integers, without replacement, from the
set of integers in the interval [0, n).
- sampleReservoir(int[], int, int[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- sampleReservoir(long[], int, long[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- sampleReservoir(short[], int, short[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- sampleReservoir(byte[], int, byte[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- sampleReservoir(char[], int, char[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- sampleReservoir(String, int, char[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k chars, without replacement, from a
given source String.
- sampleReservoir(double[], int, double[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- sampleReservoir(float[], int, float[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- sampleReservoir(T[], int, T[]) - Static method in class org.cicirello.sequences.SequenceSampler
-
Generates a random sample of k elements, without replacement, from a
given source array.
- scramble() - Method in class org.cicirello.permutations.Permutation
-
Randomly shuffles the permutation.
- scramble(Random) - Method in class org.cicirello.permutations.Permutation
-
Randomly shuffles the permutation.
- scramble(SplittableRandom) - Method in class org.cicirello.permutations.Permutation
-
Randomly shuffles the permutation.
- scramble(boolean) - Method in class org.cicirello.permutations.Permutation
-
Randomly shuffles the permutation.
- scramble(Random, boolean) - Method in class org.cicirello.permutations.Permutation
-
Randomly shuffles the permutation.
- scramble(SplittableRandom, boolean) - Method in class org.cicirello.permutations.Permutation
-
Randomly shuffles the permutation.
- scramble(int, int) - Method in class org.cicirello.permutations.Permutation
-
Randomly shuffles a segment.
- scramble(int, int, Random) - Method in class org.cicirello.permutations.Permutation
-
Randomly shuffles a segment.
- scramble(int, int, SplittableRandom) - Method in class org.cicirello.permutations.Permutation
-
Randomly shuffles a segment.
- ScrambleDistance - Class in org.cicirello.permutations.distance
-
Scramble Distance:
- ScrambleDistance() - Constructor for class org.cicirello.permutations.distance.ScrambleDistance
-
Constructs the distance measurer as specified in the class documentation.
- SequenceDistanceMeasurer - Interface in org.cicirello.sequences.distance
-
Implement this interface, SequenceDistanceMeasurer, to define a distance metric for sequences.
- SequenceDistanceMeasurerDouble - Interface in org.cicirello.sequences.distance
-
Implement this interface, SequenceDistanceMeasurerDouble, to define a distance metric for sequences.
- SequenceSampler - Class in org.cicirello.sequences
-
ArraySampler is a class of utility methods related to
efficiently generating random samples of array elements, without replacement.
- set(Permutation, int[]) - Method in class org.cicirello.permutations.Permutation.Mechanic
-
Changes the state of the Permutation according to the contents
of an array of int values.
- set(Permutation, int, int) - Method in class org.cicirello.permutations.Permutation.Mechanic
-
Changes the integer in one specific location of a Permutation.
- set(Permutation, int, int[]) - Method in class org.cicirello.permutations.Permutation.Mechanic
-
Changes a range of permutation elements.
- set(int[]) - Method in class org.cicirello.permutations.Permutation
-
Changes the state of this permutation to be identical to the elements of an array.
- SquaredDeviationDistance - Class in org.cicirello.permutations.distance
-
Squared Deviation Distance:
- SquaredDeviationDistance() - Constructor for class org.cicirello.permutations.distance.SquaredDeviationDistance
-
Constructs the distance measurer as specified in the class documentation.
- Statistics - Class in org.cicirello.math.stats
-
Utility class of basic statistics.
- sum(int[][], int[][], int[][]) - Static method in class org.cicirello.math.la.MatrixOps
-
Computes C = A + B.
- sum(double[][], double[][], double[][]) - Static method in class org.cicirello.math.la.MatrixOps
-
Computes C = A + B.
- sum(int[][], int[][]) - Static method in class org.cicirello.math.la.MatrixOps
-
Computes C = A + B.
- sum(double[][], double[][]) - Static method in class org.cicirello.math.la.MatrixOps
-
Computes C = A + B.
- swap(int, int) - Method in class org.cicirello.permutations.Permutation
-
Swaps 2 integers in the permutation.
- swapBlocks(int, int, int, int) - Method in class org.cicirello.permutations.Permutation
-
Swaps 2 non-overlapping blocks, where a block is a subsequence.