Click here to Skip to main content
15,895,667 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: Algorithm or not? Pin
Alan Balkany7-Oct-08 8:28
Alan Balkany7-Oct-08 8:28 
GeneralRe: Algorithm or not? Pin
MNoordam7-Oct-08 10:30
MNoordam7-Oct-08 10:30 
GeneralRe: Algorithm or not? Pin
Alan Balkany8-Oct-08 7:24
Alan Balkany8-Oct-08 7:24 
GeneralRe: Algorithm or not? Pin
MNoordam8-Oct-08 8:54
MNoordam8-Oct-08 8:54 
GeneralRe: Algorithm or not? Pin
MNoordam16-Oct-08 1:15
MNoordam16-Oct-08 1:15 
GeneralRe: Algorithm or not? Pin
Alan Balkany16-Oct-08 3:19
Alan Balkany16-Oct-08 3:19 
GeneralRe: Algorithm or not? [modified] Pin
MNoordam16-Oct-08 3:41
MNoordam16-Oct-08 3:41 
GeneralRe: Algorithm or not? Pin
Alan Balkany17-Oct-08 3:54
Alan Balkany17-Oct-08 3:54 
The problem is starting to get interesting. For some participant sets there may be no perfect solution.

A characteristic of this problem is that good solutions to the whole problem will tend to be composed of good solutions to subproblems (e.g. with same-color participants matched during certain rounds). This characteristic suggests two promising approaches: 1. Dynamic Programming and 2. Genetic Algorithms.

Dynamic Programming builds up optimal solutions for small numbers of participants, combining them to construct optimal solutions for greater numbers of participants. Genetic Algorithms take a set of complete solutions, rank them, and combine the best ones to (hopefully) make better ones.

A third approach (which may be best if you can figure out how to implement it) is to take a decent solution, then transform it one step at a time to progressively better solutions. For example, order the participants so that matching colors mostly meet during the appropriate rounds. Then for the particpants that DON'T match during these rounds, swap partners so that they DO match. The challenge here is to make other corrections to compensate for this disruption to the paring system.
QuestionMonte carlo Rabin_Karp Search Pin
Angelinna2-Oct-08 14:17
Angelinna2-Oct-08 14:17 
AnswerRe: Monte carlo Rabin_Karp Search Pin
Robert.C.Cartaino2-Oct-08 16:23
Robert.C.Cartaino2-Oct-08 16:23 
GeneralRe: Monte carlo Rabin_Karp Search Pin
Angelinna2-Oct-08 17:07
Angelinna2-Oct-08 17:07 
GeneralSign of the times... PinPopular
CPallini2-Oct-08 21:52
mveCPallini2-Oct-08 21:52 
GeneralRe: Monte carlo Rabin_Karp Search Pin
Paul Conrad3-Oct-08 6:28
professionalPaul Conrad3-Oct-08 6:28 
GeneralRe: Monte carlo Rabin_Karp Search PinPopular
Tim Craig3-Oct-08 18:34
Tim Craig3-Oct-08 18:34 
GeneralArray Rearrangement trick [modified] Pin
abhigad1-Oct-08 9:53
abhigad1-Oct-08 9:53 
GeneralRe: Array Rearrangement trick Pin
CPallini1-Oct-08 10:16
mveCPallini1-Oct-08 10:16 
GeneralRe: Array Rearrangement trick Pin
Alan Balkany2-Oct-08 3:42
Alan Balkany2-Oct-08 3:42 
GeneralRe: Array Rearrangement trick Pin
Mark Churchill2-Oct-08 5:16
Mark Churchill2-Oct-08 5:16 
QuestionDigit combination string [modified] Pin
z33z30-Sep-08 21:25
z33z30-Sep-08 21:25 
QuestionExternal sorting: Which algorithm to select Pin
lizardking3d29-Sep-08 1:45
lizardking3d29-Sep-08 1:45 
AnswerRe: External sorting: Which algorithm to select Pin
Alan Balkany1-Oct-08 3:36
Alan Balkany1-Oct-08 3:36 
GeneralRe: External sorting: Which algorithm to select Pin
lizardking3d5-Oct-08 20:48
lizardking3d5-Oct-08 20:48 
GeneralRe: External sorting: Which algorithm to select Pin
Alan Balkany6-Oct-08 3:29
Alan Balkany6-Oct-08 3:29 
GeneralRe: External sorting: Which algorithm to select Pin
lizardking3d6-Oct-08 4:08
lizardking3d6-Oct-08 4:08 
GeneralRe: External sorting: Which algorithm to select Pin
Alan Balkany6-Oct-08 4:22
Alan Balkany6-Oct-08 4:22 

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.