.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #34  
Old March 20th, 2003, 07:38 PM
Jack Simth's Avatar

Jack Simth Jack Simth is offline
Major General
 
Join Date: Oct 2002
Posts: 2,174
Thanks: 0
Thanked 0 Times in 0 Posts
Jack Simth is on a distinguished road
Default Re: [OT] Plato\'s Pub and Philosophical Society

Quote:
Originally posted by Suicide Junkie:
If an AI compares random numbers to decide whether to go left or right, is that free will? It will be chaotic and unpredictable...
As a computer programming student, I can tell you it is extremely difficult to get a computer to produce truly random numbers. It is possible, mind you - it takes hardware that produces truly random input, such as a noisy diode or a human user; sometimes a clever programmer will use the processor itself as a truly random number generator by using the clock drift - however, those are very rarely used. What is normally produced is pseudorandom numbers. These numbers come out of simple equations, where the routine goes something like this (I may have my suntax a bit off):

double Random(Double *seed){
double r = 1.73658965335795;
double d = 4.56891247479574;
*seed = r * (*seed) - d * (*seed) * (*seed)
return *seed;
}

While not truly random, these types of routines produce numbers that are scarecly predictable.
__________________
Of course, by the time I finish this post, it will already be obsolete. C'est la vie.
Reply With Quote
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 01:06 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.