i using genetic algorithms determine survival in netlogo model, , ultimate output of ga decimal number between 0 , 1, inclusive. crossover / mutation purposes, need work gray code rather binary numbers. have function convert binary decimal, not gray code binary (which i've struggled with).
any suggestions on how code gray code binary function?
thanks above comments.
i did find solution: "bitstring: extension netlogo. spoke author, , added "to-gray" function.