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 IndexTriple
    Modifier and Type
    Method
    Description
    EnhancedRandomGenerator.nextIntTriple(int n)
    Generates a random sample of 3 integers, without replacement, from the set of integers in the interval [0, n).
    RandomIndexer.nextIntTriple(int n)
    Generates a random sample of 3 integers, without replacement, from the set of integers in the interval [0, n).
    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).
    EnhancedRandomGenerator.nextSortedIntTriple(int n)
    Generates a random sample of 3 integers, without replacement, from the set of integers in the interval [0, n).
    RandomIndexer.nextSortedIntTriple(int n)
    Generates a random sample of 3 integers, without replacement, from the set of integers in the interval [0, n).
    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).
    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.
    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.
    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.
    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.
    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.
    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.
    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 IndexTriple
    Modifier and Type
    Method
    Description
    EnhancedRandomGenerator.sortedTriples(int n)
    Returns an effectively unlimited stream of pseudorandom triples of int values, without replacement, from the interval [0, n).
    EnhancedRandomGenerator.sortedTriples(long streamSize, int n)
    Returns a stream of pseudorandom triples of int values, without replacement, from the interval [0, n).
    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.
    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.
    EnhancedRandomGenerator.triples(int n)
    Returns an effectively unlimited stream of pseudorandom triples of int values, without replacement, from the interval [0, n).
    EnhancedRandomGenerator.triples(long streamSize, int n)
    Returns a stream of pseudorandom triples of int values, without replacement, from the interval [0, n).
    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.
    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.