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 IndexTriple
EnhancedRandomGenerator.nextIntTriple
(int n) Generates a random sample of 3 integers, without replacement, from the set of integers in the interval [0, n).static IndexTriple
RandomIndexer.nextIntTriple
(int n) Generates a random sample of 3 integers, without replacement, from the set of integers in the interval [0, n).static IndexTriple
RandomIndexer.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 IndexTriple
EnhancedRandomGenerator.nextSortedIntTriple
(int n) Generates a random sample of 3 integers, without replacement, from the set of integers in the interval [0, n).static IndexTriple
RandomIndexer.nextSortedIntTriple
(int n) Generates a random sample of 3 integers, without replacement, from the set of integers in the interval [0, n).static IndexTriple
RandomIndexer.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 IndexTriple
EnhancedRandomGenerator.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 IndexTriple
RandomIndexer.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 IndexTriple
RandomIndexer.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 IndexTriple
EnhancedRandomGenerator.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 IndexTriple
RandomIndexer.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 IndexTriple
RandomIndexer.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 IndexTriple
IndexTriple.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.