True random number and the pseudo random number
And whether the real true random Numbers in Java, but only by constantly optimized, request answer, thank you
CodePudding user response:
You come out after the quantum computer, etc, it should be able to realize, after all, now the machine does not have physical random module like dice
CodePudding user response:
reference 1st floor plutoppppp response: come out after you, and so on a quantum computer, it should be able to realize, after all, now the machine does not have physical random module like dice Well that is now unable to achieve a true random number CodePudding user response:
refer to the second floor small ginkgo online learning response: Quote: refer to 1st floor plutoppppp response: come out after you, and so on a quantum computer, it should be able to realize, after all, now the machine does not have physical random module like dice Well that is now unable to achieve a true random number Is this CodePudding user response:
In Java to generate a random number, in fact, or after a complex algorithm, He is usually through a generated by the current time (and some other conditions) seeds, to determine the random sequence of a cycle is large enough, in the selected random number So, if you really have two exactly the same seed, the generated random Numbers may be the same, But the chance is small to the extent to which we can ignore the, at this time we repeated the infinitesimal chance directly to use pseudo random number, So it is not very special circumstances, the pseudo random is enough,, CodePudding user response:
reference 4 floor percentfl response: Java to generate a random number, or after a complex algorithm, actually He is usually through a generated by the current time (and some other conditions) seeds, to determine the random sequence of a cycle is large enough, in the selected random number So, if you really have two exactly the same seed, the generated random Numbers may be the same, But the chance is small to the extent to which we can ignore the, at this time we repeated the infinitesimal chance directly to use pseudo random number, So it is not very special circumstances, the pseudo random is enough,, So the real random number really can only throw the dice, CodePudding user response:
reference 5 floor qq_16774199 reply: Quote: refer to 4th floor percentfl response: In Java to generate a random number, in fact, or after a complex algorithm, He is usually through a generated by the current time (and some other conditions) seeds, to determine the random sequence of a cycle is large enough, in the selected random number So, if you really have two exactly the same seed, the generated random Numbers may be the same, But the chance is small to the extent to which we can ignore the, at this time we repeated the infinitesimal chance directly to use pseudo random number, So it is not very special circumstances, the pseudo random is enough,, So the real random number really can only throw the dice, Is that the true random number refers to random Numbers are obtained by physical means such as the throw the dice, machine is difficult to do, CodePudding user response:
reference 4 floor percentfl response: Java to generate a random number, or after a complex algorithm, actually He is usually through a generated by the current time (and some other conditions) seeds, to determine the random sequence of a cycle is large enough, in the selected random number So, if you really have two exactly the same seed, the generated random Numbers may be the same, But the chance is small to the extent to which we can ignore the, at this time we repeated the infinitesimal chance directly to use pseudo random number, So it is not very special circumstances, the pseudo random is enough,, HMMM ok thank you Hee hee CodePudding user response:
reference plutoppppp reply: 3/f Quote: refer to the second floor small ginkgo online learning response: Quote: refer to 1st floor plutoppppp response: come out after you, and so on a quantum computer, it should be able to realize, after all, now the machine does not have physical random module like dice Well that is now unable to achieve a true random number Is this Good , thank you for your answer