Random number generating apparatus and random number generating method in a multiprocessor system
First Claim
1. A random number generating apparatus in a multiprocessor system, comprising:
- a plurality of processors; and
a processor managing means for setting in advance initial values for said processors;
wherein said processors simultaneously generate random numbers on the basis of the initial values; and
wherein said processor managing means arranges the random numbers generated by the processors to produce a sequence of periodically repeated random numbers.
1 Assignment
0 Petitions
Accused Products
Abstract
An initial value for each processor of a multiprocessor system is set using a specified calculating expression. The system determines a random number calculating expression using a multiplicative congruence method so that random numbers generated from these initial values may make a sequence of random numbers in series, and generates random numbers using the calculating expression. The system permits the adding of a processor in the middle of generation of random numbers by making equal to one another the number of random numbers generated by the existing processors, setting an initial value in each processor on the basis of the total number of already generated random numbers, and generating random numbers according to a sequence of random numbers prior to adding the processor until reaching a specified total number of random numbers to be generated.
28 Citations
18 Claims
-
1. A random number generating apparatus in a multiprocessor system, comprising:
-
a plurality of processors; and a processor managing means for setting in advance initial values for said processors; wherein said processors simultaneously generate random numbers on the basis of the initial values; and wherein said processor managing means arranges the random numbers generated by the processors to produce a sequence of periodically repeated random numbers. - View Dependent Claims (2)
-
-
3. A random number generating apparatus in a multiprocessor system, comprising:
-
a plurality of processors; a processor managing means for setting in advance initial values for said processors, said initial values being based in part on a number of random numbers to be generated by said processors; wherein said processors simultaneously generate random numbers on the basis of the initial values; and wherein said processor managing means arranges said random numbers generated by the respective processors to produce a sequence of periodically repeated random numbers. - View Dependent Claims (4)
-
-
5. A random number generating apparatus in a multiprocessor system, comprising:
-
a plurality of processors for generating random numbers; a storing means; a processor managing means for setting initial values for said processors and for storing said initial values in said storing means; wherein the processor managing means sets a number of random numbers to be generated by each processor on the bases of the total number of random numbers to be generated in the whole multiprocessor system and the number of said plurality of processors; wherein said processors simultaneously generate random numbers on the basis of the initial values stored in said storing means; and wherein the processor managing means arranges said random numbers generated by the respective processors to produce a sequence of periodically repeated random numbers which are stored in said storing means. - View Dependent Claims (6, 7)
-
-
8. A random number generating apparatus in a multiprocessor system, comprising:
-
a plurality of processors for generating random numbers; a storing means; a processor managing means for setting initial values for said processors and for storing said initial values in said storing means, said initial values being determined by means of an expression;
space="preserve" listing-type="equation">X.sub.n =X * a.sup.n mod M,where a, X, and M are integers, 0≦
X<
M, and n is the number of said plurality of processors;wherein the processor managing means sets a number of random numbers to be generated by each of said plurality of processors on the bases of the total number of random numbers to be generated in the whole multiprocessor system and the number of said plurality of processors the number of random numbers to be generated being equal to the total number of random numbers to be generated divided by the number of said plurality of processors, minus one; wherein the processor managing means arranges the random numbers generated by the respective processors on the basis of said initial values to produce a sequence of random numbers which are stored in said storing means, said sequence of random numbers being produced by said processing managing means by means of an expression;
space="preserve" listing-type="equation">X.sub.n+n =a.sup.r * X.sub.n+r(t-1),where X is an integer, a is an initial value, r is the number of processors, n is a processor number, t is a natural number, and 1≦
t≦
the number of generated random numbers. - View Dependent Claims (9)
-
-
10. A method for generating random numbers in a system that includes a plurality of processors, comprising the steps of:
-
setting in advance initial values for said processors; simultaneously generating random numbers with said processors on the basis of the initial values; and arranging the random numbers generated by the processors to produce a sequence of periodically repeated random numbers. - View Dependent Claims (11)
-
-
12. A method for generating random numbers in a system that includes a plurality of processors, comprising the steps of:
-
setting in advance initial values for said processors, said initial values being based in part on a number of random numbers to be generated by said processors; simultaneously generating random numbers with said processors on the basis of the initial values; and arranging the random numbers generated by the processors to produce a sequence of periodically repeated random numbers. - View Dependent Claims (13)
-
-
14. A method for generating random numbers in a system that includes a plurality of processors, comprising the steps of:
-
setting initial values for said processors; storing said initial values in a storing unit; simultaneously generating random numbers with said processors on the basis of the initial values; and arranging the random numbers generated by the processors to produce a sequence of periodically repeated random numbers which are stored in said storing unit. - View Dependent Claims (15, 16)
-
-
17. A method for generating random numbers in a system that includes a plurality of processors, comprising the steps of:
-
setting initial values for said processors and storing said initial values in a storing unit, said initial values being determined by means of an expression;
space="preserve" listing-type="equation">X.sub.n =X * a.sup.n mod M,where a, X, and M are integers, 0≦
X<
M, and n is the number of said plurality of processors;setting a number of random numbers to be generated by each of said plurality of processors on the bases of the total number of random numbers to be generated in the whole multiprocessor system and the number of said plurality of processors, the number of random numbers to be generated being equal to the total number of random numbers to be generated divided by the number of said plurality of processors, minus one; and arranging the random numbers generated by the respective processors on the basis of said initial values to produce a sequence of random numbers which are stored in said storing units, said sequence of random numbers being produced by means of an expression;
space="preserve" listing-type="equation">X.sub.n+rt =a * X.sub.n+r(t-1),where X is an integer, a is an initial value, r is the number of processors, n is a processor number, t is a natural number, and 1≦
t≦
the number of generated random numbers. - View Dependent Claims (18)
-
Specification