Click here to Skip to main content
15,909,039 members
Home / Discussions / C#
   

C#

 
AnswerRe: Combination Algorithm Pin
BillWoodruff28-Oct-13 7:12
professionalBillWoodruff28-Oct-13 7:12 
There are some good articles on CP (for both C# and C++) on generating combinations, permutations, etc. : [^]. An interesting debate and brawl on StackOverFlow on various permutation generating algorithms here: [^].

While the permutations of a set of eight would be around 40k, the fact that your solution is going to consider multiple uses of any one item suggests to me you will have a vast "combinatorial" space to examine for a set of eight.

good luck, Bill

Google CEO, Erich Schmidt: "I keep asking for a product called Serendipity. This product would have access to everything ever written or recorded, know everything the user ever worked on and saved to his or her personal hard drive, and know a whole lot about the user's tastes, friends and predilections." 2004, USA Today interview

SuggestionRe: Combination Algorithm Pin
GuyThiebaut28-Oct-13 7:14
professionalGuyThiebaut28-Oct-13 7:14 
AnswerRe: Combination Algorithm Pin
harold aptroot28-Oct-13 22:56
harold aptroot28-Oct-13 22:56 
Question[C#] Infix to Postfix calculator Pin
Sottyoru27-Oct-13 5:14
Sottyoru27-Oct-13 5:14 
AnswerRe: [C#] Infix to Postfix calculator Pin
Richard MacCutchan27-Oct-13 6:15
mveRichard MacCutchan27-Oct-13 6:15 
AnswerRe: [C#] Infix to Postfix calculator Pin
codestar00727-Oct-13 23:03
professionalcodestar00727-Oct-13 23:03 
QuestionDll Files in .NET Pin
Amit Saini27-Oct-13 2:30
professionalAmit Saini27-Oct-13 2:30 
AnswerRe: Dll Files in .NET Pin
Abhinav S27-Oct-13 3:34
Abhinav S27-Oct-13 3:34 
GeneralRe: Dll Files in .NET Pin
harold aptroot27-Oct-13 7:21
harold aptroot27-Oct-13 7:21 
GeneralRe: Dll Files in .NET Pin
Mycroft Holmes27-Oct-13 14:19
professionalMycroft Holmes27-Oct-13 14:19 
GeneralRe: Dll Files in .NET Pin
harold aptroot27-Oct-13 20:49
harold aptroot27-Oct-13 20:49 
GeneralRe: Dll Files in .NET Pin
Amit Saini28-Oct-13 4:00
professionalAmit Saini28-Oct-13 4:00 
GeneralRe: Dll Files in .NET Pin
Pete O'Hanlon28-Oct-13 4:18
mvePete O'Hanlon28-Oct-13 4:18 
GeneralRe: Dll Files in .NET Pin
Dave Kreskowiak28-Oct-13 7:05
mveDave Kreskowiak28-Oct-13 7:05 
Questionsedna xml & exist-db sample code? Pin
Moustafa Farhat27-Oct-13 1:56
Moustafa Farhat27-Oct-13 1:56 
AnswerRe: sedna xml & exist-db sample code? Pin
Richard MacCutchan27-Oct-13 2:02
mveRichard MacCutchan27-Oct-13 2:02 
GeneralRe: sedna xml & exist-db sample code? Pin
Moustafa Farhat27-Oct-13 2:13
Moustafa Farhat27-Oct-13 2:13 
GeneralRe: sedna xml & exist-db sample code? Pin
Richard MacCutchan27-Oct-13 2:27
mveRichard MacCutchan27-Oct-13 2:27 
QuestionHow to pass string from C# to PHP web page using PHP nusoap server Pin
Mudassar Tufail26-Oct-13 2:09
Mudassar Tufail26-Oct-13 2:09 
Questionchange from Textbox to datetimepicker Pin
ankisxn25-Oct-13 20:29
ankisxn25-Oct-13 20:29 
AnswerRe: change from Textbox to datetimepicker Pin
Mycroft Holmes25-Oct-13 21:37
professionalMycroft Holmes25-Oct-13 21:37 
GeneralRe: change from Textbox to datetimepicker Pin
OriginalGriff25-Oct-13 21:43
mveOriginalGriff25-Oct-13 21:43 
GeneralRe: change from Textbox to datetimepicker Pin
Mycroft Holmes26-Oct-13 0:43
professionalMycroft Holmes26-Oct-13 0:43 
GeneralRe: change from Textbox to datetimepicker Pin
OriginalGriff26-Oct-13 0:51
mveOriginalGriff26-Oct-13 0:51 
AnswerRe: change from Textbox to datetimepicker Pin
OriginalGriff25-Oct-13 21:41
mveOriginalGriff25-Oct-13 21:41 

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.