Simulated annealing: Difference between revisions
Content deleted Content added
Line 94:
For your platform you might have to modify parts, such as the call to getentropy(3).
You can
Some might notice the calculations of random integers are done in a way that may introduce a bias, which is miniscule as long as the integer is much smaller than 2 to the 31st power. I mention this now so no one will complain about it later.
<lang c>#include <math.h>
|