Write (pen & paper) step by step (mapping process)
Pay attention to the paranthesis
import grape
BNF = grape.grammar(address)
genome = # list of integers
IND = grape.individual(genome, BNF, 10, 'lazy') # 10 -> max length
print(IND.phenotype)
Do not submit the above code. Use it for checking.
4-bit parity (GP X GE)
grape: grammatical algorthims in python for evolution. (section 2 & 3 in the paper)
Not mandatory, but useful: play around with the grammar.
Points to note