Genetic algorithm in the test group volume, I use the genetic algorithm under Windows under the C #, I don't know which master can help me solve the urgent urgent? My current level is really no way to write this genetic algorithm, ask for help! Below is an introduction to the genetic algorithm.
Genetic Algorithm Description Genetic Algorithm is a parallel, effective optimized algorithm, based on Morgan's gene theory and Eldridge and Gould interrupt intermittent balance theory, while combining Mayr's edge species formation theory and some ideas of BertalanffV general system theory, Simulated Darwin's nature genetics: inheritance (genetic genetics), evolutionary (gene mutation) wins in the fittest (excellent gene is genetically replicated, inferior genes are genetically replicated). It is a search algorithm that combines the natural selection of the advantageous fittings of the natural world, the evolutionary mechanism of the survival of the fittest and the random information exchange mechanism between individuals and individuals in the same group. Using Genetic Algorithm Solving Problem First, you need to represent the required solutions into binary coding, then conduct basic operations according to the environment: Selection, Crossover, Mutation ... This continuous so-called "survival selection", and finally converge to a most adaptive environment On the individual's individual, the best solution is obtained. [6,7] 4 Genetic Algorithm Application In general, users will propose multifaceted requirements for the quality of the test paper when the automatic group volume, such as the sum of the topic, the average difficulty, the proportion, the proportion of chapters, the proportion of key chapters, knowledge Card and synthesis, etc., the automatic group volume should maximize the requirements of the user. Therefore, before the group volume, we first establish a control indicator for the automatic group volume, each line of each line of D = [] D consists of a test indicator of a test, such as the title number, the subject, chapter, difficulty, etc. And these attribute indicators are encoded to represent binary forms, and each column is all of the values of a certain indicator in the question bank. In a specific problem, the examination may not use all indicators, so the individual D_Target contained in D_Request and D_VOID, D_Request indicate the control indicator required by the examination, D_VOID indicates the control indicator of the examination. That is, D_Target :: =