Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^3: Table shuffling challengeby RichardK (Parson) |
on Aug 24, 2013 at 13:04 UTC ( [id://1050812]=note: print w/replies, xml ) | Need Help?? |
Really, to me the fact that you're finding it difficult to explain your problem is a real red flag. Computers are as dumb as a very dumb thing, so if you can't explain your problem to other human beings how can you expect to successfully write a program? The program will only do exactly what you tell it to do, so you need to do all the critical thinking. Also, how will you test the your program to understand if it's producing significant results or just random junk? Just because it doesn't crash doesn't mean that it's working properly. Being able to clearly explain your problem is hugely important, as demonstrated by the well known debugging technique : CardboardProgrammer Rubber Duck Debugging. Perhaps you should start by working with a very small dataset until you've got a good understanding of your problem space. You seem to be trying to derive some sort of probabilities, so perhaps there's a way to calculate what you need rather than trying this brute force approach. So maybe some time reading a statistics textbook would be time well spent?
In Section
Seekers of Perl Wisdom
|
|