![]() |
|||||||||||||||||||||||||||||
![]() |
Home | ![]() |
Register | ![]() |
Arcade | ![]() |
Gallery | ![]() |
Chatroom | ![]() |
Members | ![]() |
Today's Posts | ![]() |
Search | ![]() |
Log In | ![]() |
|
Notices |
![]() |
|
Thread Tools |
![]() |
#1 |
Registered
Join Date: Feb 2009
Posts: 29
|
Duplicate Fish
In MA3 for the Macintosh there are frequent duplications of random fish, something which doesn't seem to ever happen in the Windows version. In fact, to date I get duplicates (and occasional triplicates) every single time MA3 is activated in MacOS 10.6.1. This needs correction, I think.
Bob N. |
![]() |
![]() |
![]() |
#2 |
Forum Administrator
Join Date: Dec 2000
Location: Rock Hill, SC
Posts: 10,939
|
You have set it to show 26 fish? (If you set it higher than 26, you will get duplicates).
"Journalism is printing what someone else does not want printed. Everything else is public relations." - George Orwell
"If voting changed anything, they'd make it illegal." - Emma Goldman |
![]() |
![]() |
![]() |
#3 |
Registered
Join Date: Feb 2009
Posts: 29
|
No, I have it set for 12 random and 4 selected fish, for a total of 16 fish and I always get duplicates. I have another set with no random fish and there are no duplicates.
By the way, I re-posted this same topic in the new MA 3 Mac thread but there are no responses yet. Bob N. |
![]() |
![]() |
![]() |
#4 |
Retired
Join Date: Jan 2002
![]() Location: Edmonton Alberta Ca
Posts: 2,441
|
I think 12 random does NOT mean all 12 will be different.. you could end up with 12 of the same species.. at least that is the way I figure it (random) works
|
![]() |
![]() |
![]() |
#5 |
Developer
Join Date: Dec 2000
Location: Southern Oregon
Posts: 9,785
|
PC guys - Don't forget they are talking about the Mac version here. It's a whole different ballgame.
Jim Sachs
Creator of SereneScreen Aquarium |
![]() |
![]() |
![]() |
#6 |
Engineer
Join Date: Aug 2002
Location: London, UK
Posts: 1,279
|
Also random doesn't work the way some people think, if it's really random and the odds of collisions go up quickly...
This is called the "Birthday Problem". This is because that while the chance of two people having the same birthday is 1 in 365.242 (I think), the number of people you need to have in a group to have a better of 50% chance of having two people with the same birthday is actually... 23! Once you get to 57 people the chance is over 99% (random people, not selected people). This is due to the number of comparisons going up fast as numbers increase. Person A has 22 chances of a match. Then Person B has 21 chances (as already tried to match with A) Person C has 20... so have 22+21+20+... comparisons of birthdays... (that's 253 in total, to save lots of people's fingers.) I think (from another post) this isn't strictly true in this case, but not a lot of people know about this so I thought I'd work it in. It's has many uses, including in Cryptography, where can get duplicates faster than people would think. Another interesting application is in mass DNA matching (or any data mining operation). If the odds of a DNA match are 1 in 10 trillion (the best in current usage, this depends on the number of regions compared or loci, the number is for 13 loci, which I think is the largest in use, and assumes true randomness, which is unlikely for DNA) then a jury will think that they have the guilty person. However if you have a large number of people on file and do a lot of comparisons (most new crimes and a bunch of old ones) the number of comparisons goes up exponentially and heads into the trillions (ignoring the errors lab work always introduces). This means you actually get a lot of random matches and hope someone points it out to the jury. In America a little while back a modest DNA database was used for some tests and generated several clearly random matches at lower loci. A quote:
A recent analysis of the Arizona convicted offender data base (a database that uses the 13 CODIS loci) revealed that among the approximately 65,000 entries listed there were 144 individuals whose DNA profiles match at 9 loci (including one match between individuals of different races, one Caucasion, the other African American), another few who match at 10 loci, one pair that match at 11, and one pair that match at 12. The 11 and 12 loci matches were siblings, hence not random. But matches on 9 or 10 loci among a database as small as 65,000 entries cast considerable doubt in my mind on figures such as the oft-cited "one in ten trillion" for a match that extends to just 3 or 4 additional loci.
It works the same if you could track people. If there were enough people you would get random ones at all the crime scenes for a series of robberies, etc. You would hope the Police would get this before deciding to kick someone's door in at 3am...BTW this isn't meant to be political, just a maths curiosity that I hope some will find interesting. John |
![]() |
![]() |
![]() |
#7 |
Forum Administrator
Join Date: Dec 2000
Location: Rock Hill, SC
Posts: 10,939
|
The PC version has "Do not duplicate Random". If you set it to 26 fish, you will get 26 unique fish with no duplicates.
The Mac version doesn't have this feature at the moment.
"Journalism is printing what someone else does not want printed. Everything else is public relations." - George Orwell
"If voting changed anything, they'd make it illegal." - Emma Goldman |
![]() |
![]() |
![]() |
#8 |
Mac Development
Join Date: Jul 2002
Location: Kenai, Alaska
Posts: 678
|
The "random" fish aren't random in MA 3 for Mac as we weight the choices by the favorite value you assign to the fish with the stars. More stars means more likely to be picked relative to fish with fewer stars (obviously, if all of the fish have the same number of stars the effect is cancelled out). I'll take a look at the algorithm and see if it needs to be tweaked for 3.0.2.
Jim O'Connor
Order N Development |
![]() |
![]() |
![]() |
|
|
|