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