Tell me more ×
Computer Science Stack Exchange is a question and answer site for students, researchers and practitioners of computer science. It's 100% free, no registration required.

How to start and how to design algorithm? Where can I obtain good resources for algorithm design such as templates, examples, books, URLs etc which I can start learning and start designing? Please advise me on the followings:

– Design a representation

– Design a way of mapping a genotype to a phenotype

– Design a way of evaluating an individual

– Design suitable mutation operator(s)

– Design suitable recombination operator(s)

– Decide how to select individuals to be parents

– Decide how to select individuals for the next generation (how to manage the population)

– Decide how to start: initialisation method

– Decide how to stop: termination criterion

share|improve this question
3  
Your question is far too broad. I suggest finding a text book. – Dave Clarke Jan 29 at 8:43

closed as not a real question by Pål GD, Dave Clarke, A.Schulz, Gilles Jan 29 at 12:55

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.

1 Answer

In my experience, genetic algorithms have just the overall structure in common. How to represent the individuals is very problem dependent. The representation is hopefully such that the operations of crossover and mutation give viable offspring, or at least such that they can be repaired easily. They should be compact, and it should be easy to compute the fitness from them. Look around for examples from the specific field you are interested in.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.