Click here to Skip to main content
15,891,905 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: Stuck on an a* pathfinding algorithm Pin
Espen Harlinn4-Jan-11 0:46
professionalEspen Harlinn4-Jan-11 0:46 
GeneralRe: Stuck on an a* pathfinding algorithm Pin
venomation4-Jan-11 7:44
venomation4-Jan-11 7:44 
GeneralRe: Stuck on an a* pathfinding algorithm Pin
Espen Harlinn4-Jan-11 8:27
professionalEspen Harlinn4-Jan-11 8:27 
AnswerRe: Stuck on an a* pathfinding algorithm Pin
ely_bob10-Jan-11 9:55
professionalely_bob10-Jan-11 9:55 
QuestionI'm Looking For An Algorithm To Optimize Keno Selections Pin
Roger Wright20-Dec-10 15:23
professionalRoger Wright20-Dec-10 15:23 
AnswerRe: I'm Looking For An Algorithm To Optimize Keno Selections Pin
GlobX20-Dec-10 16:07
GlobX20-Dec-10 16:07 
GeneralRe: I'm Looking For An Algorithm To Optimize Keno Selections Pin
Roger Wright20-Dec-10 16:48
professionalRoger Wright20-Dec-10 16:48 
GeneralRe: I'm Looking For An Algorithm To Optimize Keno Selections Pin
GlobX20-Dec-10 16:58
GlobX20-Dec-10 16:58 
Roger Wright wrote:
The first time you draw a number there is a 1/80 chance of it being a particular number. But the second time, the chance is 1/79, since the first number is not replaced.


Damn it! I knew I'd forgotten something, oh well... never mind.

Roger Wright wrote:
Even if I make this tedious calculation for all the possible draw/hit combinations and orders, how do I determine the total probability of any particular number of hits in all the different orders in which they may occur? That's where I get stumped!


That smells like Permutations and Combinations - in fact, I'd be surprised if this was not exactly what you were looking for: Permuations[^] and Combinations[^].

I believe you want Combinations, as (forgive me if I'm wrong) I don't remember the order of numbers mattering in Keno.
GeneralRe: I'm Looking For An Algorithm To Optimize Keno Selections Pin
Roger Wright20-Dec-10 17:53
professionalRoger Wright20-Dec-10 17:53 
AnswerRe: I'm Looking For An Algorithm To Optimize Keno Selections Pin
Luc Pattyn20-Dec-10 16:58
sitebuilderLuc Pattyn20-Dec-10 16:58 
GeneralRe: I'm Looking For An Algorithm To Optimize Keno Selections Pin
Roger Wright20-Dec-10 17:51
professionalRoger Wright20-Dec-10 17:51 
GeneralRe: I'm Looking For An Algorithm To Optimize Keno Selections Pin
GlobX20-Dec-10 19:30
GlobX20-Dec-10 19:30 
GeneralRe: I'm Looking For An Algorithm To Optimize Keno Selections Pin
Roger Wright22-Dec-10 4:03
professionalRoger Wright22-Dec-10 4:03 
GeneralRe: I'm Looking For An Algorithm To Optimize Keno Selections Pin
agolddog23-Dec-10 4:06
agolddog23-Dec-10 4:06 
GeneralRe: I'm Looking For An Algorithm To Optimize Keno Selections Pin
Roger Wright23-Dec-10 5:05
professionalRoger Wright23-Dec-10 5:05 
GeneralRe: I'm Looking For An Algorithm To Optimize Keno Selections Pin
Luc Pattyn23-Dec-10 5:39
sitebuilderLuc Pattyn23-Dec-10 5:39 
GeneralRe: I'm Looking For An Algorithm To Optimize Keno Selections Pin
jschell23-Dec-10 8:25
jschell23-Dec-10 8:25 
GeneralRe: I'm Looking For An Algorithm To Optimize Keno Selections Pin
musefan22-Dec-10 4:36
musefan22-Dec-10 4:36 
AnswerRe: I'm Looking For An Algorithm To Optimize Keno Selections Pin
cp987620-Dec-10 18:52
cp987620-Dec-10 18:52 
GeneralRe: I'm Looking For An Algorithm To Optimize Keno Selections Pin
musefan22-Dec-10 4:34
musefan22-Dec-10 4:34 
GeneralRe: I'm Looking For An Algorithm To Optimize Keno Selections Pin
Luc Pattyn22-Dec-10 4:47
sitebuilderLuc Pattyn22-Dec-10 4:47 
GeneralRe: I'm Looking For An Algorithm To Optimize Keno Selections Pin
Kirk Wood24-Dec-10 4:29
Kirk Wood24-Dec-10 4:29 
GeneralRe: I'm Looking For An Algorithm To Optimize Keno Selections Pin
Roger Wright3-Jan-11 18:37
professionalRoger Wright3-Jan-11 18:37 
AnswerRe: I'm Looking For An Algorithm To Optimize Keno Selections Pin
trooper081423-Dec-10 20:28
trooper081423-Dec-10 20:28 
AnswerRe: I'm Looking For An Algorithm To Optimize Keno Selections Pin
Mwanzia_M21-Jan-11 3:05
Mwanzia_M21-Jan-11 3:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.