Uses of Record Class
org.cicirello.math.rand.IndexTriple
Packages that use IndexTriple
Package
Description
Collection of classes related to random number generation.
-
Uses of IndexTriple in org.cicirello.math.rand
Methods in org.cicirello.math.rand that return IndexTripleModifier and TypeMethodDescriptionfinal IndexTripleEnhancedRandomGenerator.nextIntTriple(int n) Generates a random sample of 3 integers, without replacement, from the set of integers in the interval [0, n).static IndexTripleRandomIndexer.nextIntTriple(int n) Generates a random sample of 3 integers, without replacement, from the set of integers in the interval [0, n).static IndexTripleRandomIndexer.nextIntTriple(int n, RandomGenerator gen) Generates a random sample of 3 integers, without replacement, from the set of integers in the interval [0, n).final IndexTripleEnhancedRandomGenerator.nextSortedIntTriple(int n) Generates a random sample of 3 integers, without replacement, from the set of integers in the interval [0, n).static IndexTripleRandomIndexer.nextSortedIntTriple(int n) Generates a random sample of 3 integers, without replacement, from the set of integers in the interval [0, n).static IndexTripleRandomIndexer.nextSortedIntTriple(int n, RandomGenerator gen) Generates a random sample of 3 integers, without replacement, from the set of integers in the interval [0, n).final IndexTripleEnhancedRandomGenerator.nextSortedWindowedIntTriple(int n, int window) 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.static IndexTripleRandomIndexer.nextSortedWindowedIntTriple(int n, int window) 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.static IndexTripleRandomIndexer.nextSortedWindowedIntTriple(int n, int window, RandomGenerator gen) 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.final IndexTripleEnhancedRandomGenerator.nextWindowedIntTriple(int n, int window) 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.static IndexTripleRandomIndexer.nextWindowedIntTriple(int n, int window) 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.static IndexTripleRandomIndexer.nextWindowedIntTriple(int n, int window, RandomGenerator gen) 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.static IndexTripleIndexTriple.sorted(int i, int j, int k) Factory method to initialize an IndexTriple with sorted indexes.Methods in org.cicirello.math.rand that return types with arguments of type IndexTripleModifier and TypeMethodDescriptionfinal Stream<IndexTriple>EnhancedRandomGenerator.sortedTriples(int n) Returns an effectively unlimited stream of pseudorandom triples of int values, without replacement, from the interval [0, n).final Stream<IndexTriple>EnhancedRandomGenerator.sortedTriples(long streamSize, int n) Returns a stream of pseudorandom triples of int values, without replacement, from the interval [0, n).final Stream<IndexTriple>EnhancedRandomGenerator.sortedWindowedTriples(int n, int window) Returns an effectively unlimited stream of pseudorandom triples (i, j , k) of int values, without replacement, from the interval [0, n), such that |i-j| ≤ window, and |i-k| ≤ window, and |k-j| ≤ window.final Stream<IndexTriple>EnhancedRandomGenerator.sortedWindowedTriples(long streamSize, int n, int window) Returns a stream of pseudorandom triples (i, j , k) of int values, without replacement, from the interval [0, n), such that |i-j| ≤ window, and |i-k| ≤ window, and |k-j| ≤ window.final Stream<IndexTriple>EnhancedRandomGenerator.triples(int n) Returns an effectively unlimited stream of pseudorandom triples of int values, without replacement, from the interval [0, n).final Stream<IndexTriple>EnhancedRandomGenerator.triples(long streamSize, int n) Returns a stream of pseudorandom triples of int values, without replacement, from the interval [0, n).final Stream<IndexTriple>EnhancedRandomGenerator.windowedTriples(int n, int window) Returns an effectively unlimited stream of pseudorandom triples (i, j , k) of int values, without replacement, from the interval [0, n), such that |i-j| ≤ window, and |i-k| ≤ window, and |k-j| ≤ window.final Stream<IndexTriple>EnhancedRandomGenerator.windowedTriples(long streamSize, int n, int window) Returns a stream of pseudorandom triples (i, j , k) of int values, without replacement, from the interval [0, n), such that |i-j| ≤ window, and |i-k| ≤ window, and |k-j| ≤ window.