Mapping pseudo-random numbers to predefined number ranges
First Claim
1. A method for generating pseudo-random numbers in a target range, the method comprising:
- generating a plurality of pseudo-random numbers having a uniform distribution in a source range;
selecting an optimal subset of the plurality of pseudo-random numbers to map; and
mapping the selected pseudo-random numbers to a corresponding number in the target range such that the mapped numbers are uniformly distributed across the target range.
2 Assignments
0 Petitions
Accused Products
Abstract
Pseudo-random numbers (PRNs) generated by a PRN generator are mapped to predefined number ranges or target ranges. The target range may be smaller or larger than the range of the PRN generator. Mapping to a smaller target range may include generating PRNs (e.g., integers) from a particular bit-input stream (e.g., 32-bit) having a uniform distribution across the range of numbers; selecting an optimal subset of the generated PRNs to map; and mapping the selected PRNs to a corresponding number in a target range such that the mapped numbers are uniformly distributed across the target range. Mapping to a larger target range may include generating uniformly distributed PRNs; applying a generation function to the PRNs to generate uniformly distributed packed numbers; and applying a mapping function to map selected packed numbers to the target range such that the mapped numbers are uniformly distributed.
-
Citations
28 Claims
-
1. A method for generating pseudo-random numbers in a target range, the method comprising:
-
generating a plurality of pseudo-random numbers having a uniform distribution in a source range;
selecting an optimal subset of the plurality of pseudo-random numbers to map; and
mapping the selected pseudo-random numbers to a corresponding number in the target range such that the mapped numbers are uniformly distributed across the target range. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method for generating uniformly distributed pseudo-random numbers in an arbitrary target range, the method comprising:
-
generating a plurality of pseudo-random numbers F having a uniform distribution in a range 0 to R;
mapping the plurality of pseudo-random integer numbers F to an arbitrary target range of size B by (i) obtaining those pseudo-random numbers F that fall in a range 0 to L, where L is derived from R and B and provides an optimal match to the desired range, and (ii) mapping each pseudo-random number F falling in a range 0 to L to a corresponding number in the target range so that the mapped number in the target range is uniformly distributed relative to other mapped numbers.
-
-
13. A method for mapping pseudo-random numbers to a target range, the method comprising:
-
generating in a source range a plurality of pseudo-random numbers having a uniform distribution; and
mapping the pseudo-random numbers to the target range while maintaining the degree of pseudo-randomness of the pseudo random numbers.
-
-
14. A method for generating uniformly distributed pseudo-random packed numbers in an arbitrary desired range, the method comprising:
-
generating uniformly distributed pseudo-random numbers;
applying a generation function to the pseudo-random numbers to generate uniformly distributed packed numbers; and
applying a mapping function to the uniformly distributed packed numbers to map selected packed numbers to corresponding numbers in the arbitrary desired range such that the mapped numbers are uniformly distributed. - View Dependent Claims (15, 16)
-
-
17. A computer system configured to perform operations comprising:
-
generating a plurality of pseudo-random numbers having a uniform distribution in a source range;
selecting an optimal subset of the plurality of pseudo-random numbers to map; and
mapping the selected pseudo-random numbers to a corresponding number in the target range such that the mapped numbers are uniformly distributed across the target range. - View Dependent Claims (18, 19, 20, 21)
-
-
22. A computer system configured to perform operations comprising:
-
generating uniformly distributed pseudo-random numbers;
applying a generation function to the pseudo-random numbers to generate uniformly distributed packed numbers; and
applying a mapping function to the uniformly distributed packed numbers to map selected packed numbers to corresponding numbers in the arbitrary desired range such that the mapped numbers are uniformly distributed. - View Dependent Claims (23, 24)
-
-
25. A computer-readable medium having stored therein one or more sequences of instruction for mapping pseudo-random numbers to a target range, wherein execution of the one or more sequences of instructions by one ore more processors causes the one ore more processors to perform operations comprising:
-
generating a plurality of pseudo-random numbers having a uniform distribution in a source range;
selecting an optimal subset of the plurality of pseudo-random numbers to map; and
mapping the selected pseudo-random numbers to a corresponding number in the target range such that the mapped numbers are uniformly distributed across the target range. - View Dependent Claims (26, 27, 28)
-
Specification