Method and apparatus for generating random numbers with improved statistical properties
First Claim
1. A computer-implemented method of generating random numbers using a plurality of random number generators, the method comprising:
- (1) generating a plurality of independent streams of events;
(2) selecting an event from the independent streams based on an arrival time of the event in relation to arrival times of other events in the plurality of independent streams of events; and
(3) using the selected event to generate a random number.
6 Assignments
0 Petitions
Accused Products
Abstract
A method and an apparatus are provided for combining a plurality of random number generators into a combined random number generator. The outputs of the plurality of generators are interleaved into a combined stream of random numbers selected from each of the plurality of random-number generators. A value of x is calculated by each of the random number generators. Each of the values of x is mapped to a respective arrival time t for each of the random number generators. One of the random number generators having an earliest respective arrival time t is determined. A random number based on the arrival time t is generated.
13 Citations
36 Claims
-
1. A computer-implemented method of generating random numbers using a plurality of random number generators, the method comprising:
-
(1) generating a plurality of independent streams of events;
(2) selecting an event from the independent streams based on an arrival time of the event in relation to arrival times of other events in the plurality of independent streams of events; and
(3) using the selected event to generate a random number. - View Dependent Claims (2, 3)
-
-
4. A computer-implemented method of generating random numbers using a plurality of random number generators, the method comprising:
-
(1) using each of the random number generators to calculate a value of x for each of the random number generators;
(2) mapping each of the values of x to a respective time t for each of the random number generators;
(3) determining which one of the random number generators has the time t with a value being less than or equal to the respective time t of each of other ones of the random number generators; and
(4) generating, as output, a random number based on the lowest value of t determined in act (3). - View Dependent Claims (5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. An apparatus for generating random numbers comprising:
-
a plurality of random number generators;
a plurality of converters, each of the converters being configured to map a respective random number value of x, generated by each of the random number generators to a time t; and
a selector to determine which one of the random number generators has a lowest value for the time t, wherein;
the selector is arranged to generate a random number based on the lowest value for the time t. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20)
-
-
21. A machine-readable medium having instructions recorded thereon, the instructions comprising:
-
(1) generating a plurality of independent streams of events;
(2) selecting an event from the independent streams based on an arrival time of the event in relation to arrival times of other events in the plurality of independent streams of events; and
(3) using the selected event to generate a random number. - View Dependent Claims (22, 23)
-
-
24. A machine-readable medium having instructions recorded thereon, the instructions comprising:
-
(1) using each of a plurality of random number generators to calculate respective random number values of x;
(2) mapping each of the respective values of x to a respective time t for each of the random number generators;
(3) determining which one of the random number generators has the time t with a value being less than or equal to the respective time t of each of other ones of the random number generators; and
(4) generating, as output, a random number based on the lowest value of t determined in act (3). - View Dependent Claims (25, 26, 27, 28, 29, 30, 31, 32)
-
-
33. A computer-implemented method of generating random numbers using a plurality of random number generators, the method comprising:
-
(1) calculating a random number value of x from each of a plurality of random number generators;
(2) converting each of the values of x to a respective probability number according to a formula;
where Pji is the respective probability number and ci is a maximum number which can be generated by a respective one of the random number generators;
(3) determining a respective time increment Δ
tji for each of the respective random number generators based on the respective probability number Pji for each of the random number generators according to a formula;
where λ
i is the average arrival rate for an ith one of the random number generators;
(4) determining a respective arrival time t for each of the random number generators by adding a current time to the respective time increment Δ
tji to produce the respective arrival time t;
(5) determining which one of the random number generators has a smallest value of the arrival time t;
(6) generating a random number Pi according to a formula;
where λ
j is an average arrival rate for the jth random number generator, where j will vary from 1 to n, n is a number of random number generators, and ti−
ti−
1 is a difference between a value of the time t at an ith arrival time and a value of the time t at an (ith−
1) arrival time, where ti has the smallest value of the arrival time determined by act 5;
(7) determining a new value of x for the one of the random number generators;
(8) converting the new value of x to the respective probability number according to the formula;
where Pji is the respective probability number and ci is a maximum number which can be generated by the respective one of the random number generators;
(9) determining the respective time increment Δ
tji for the respective random number generator based on the respective probability number Pji for the one of the random number generators according to the formula;
where λ
i is the average arrival rate for the respective random number generator;
(10) determining a respective arrival time t for the respective random number generator by adding the current time to the respective time increment Δ
tji to produce the respective arrival time t;
(11) repeating acts 5 through 10 to produce a next random number Pji. - View Dependent Claims (34)
-
-
35. A machine-readable medium having instructions recorded thereon, the instructions comprising:
-
(1) calculating a random number value of x from each of a plurality of random number generators;
(2) converting each of the values of x to a respective probability number according to a formula;
where Pji is the respective probability number and ci is a maximum number which can be generated by a respective one of the random number generators;
(3) determining a respective time increment Δ
tji for each of the respective random number generators based on the respective probability number Pji for each of the random number generators according to a formula;
where λ
i is the average arrival rate for an ith one of the random number generators;
(4) determining a respective arrival time t for each of the random number generators by adding a current time to the respective time increment Δ
tji to produce the respective arrival time t;
(5) determining which one of the random number generators has a smallest value of the arrival time t;
(6) generating a random number Pi according to a formula;
where λ
j is an average arrival rate for the jth random number generator, where j will vary from 1 to n, n is a number of random number generators, and t−
tt−
1 is a difference between a value of the time t at an ith arrival time and a value of the time t at an (ith−
1) arrival time, where ti has the smallest value of the arrival time t determined by act 5;
(7) determining a new value of x for the one of the random number generators;
(8) converting the new value of x to the respective probability number At according to the formula;
where Pji is the respective probability number and ci is a maximum number which can be generated by the one of the random number generators;
(9) determining the respective time increment Δ
tji for the respective random number generator based on the respective probability number Pn for the one of the random number generators according to the formula;
where λ
i is the average arrival rate for the one of the random number generators;
(10) determining a respective arrival time t for the one of the random number generators by adding the current time to the respective time increment Δ
tji to produce the respective arrival time t;
(11) repeating acts 5 through 10 to produce a next random number Pi+1. - View Dependent Claims (36)
-
Specification