You are trying to decode the secret word --> AMERICA
where # letters is the number of letters in the word, guess[n] is the letter n in the guess chromosome, and answer[n] is the letter n in the answer. let the value of each alphabet be an integer corresponding to its location in the alphabet (e.g., a=1, b=2, etc). When the cost becomes zero the secret word is identified by the GA.
1) Identify the schema for the chromosome. Create one example of the chromosome. Discuss why you choose such representation.
2) Explain what is the cost of the fitness function. Calculate the fitness of each chromosomes.
3) Discuss how would you code this problem. Show some pseudocode to help your discussion.
im quite new in this area, this prob so confusing 4 me
genetic algorithm - decode
Started by ejah, Aug 21 2009 04:04 AM
1 reply to this topic
#1
Posted 21 August 2009 - 04:04 AM
#2
Posted 21 August 2009 - 06:00 AM
This website is not an appropriate place to ask for help with homework problems.
reedbeta.com - developer blog, OpenGL demos, and other projects
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











