Thank you!!! Oh my goodness this worked! I'm used to working in VBA, so if I declare an array of size 10, it automatically creates an array of size 11, from 0-10. Technically I guess this makes more...
Type: Posts; User: Elfie
Thank you!!! Oh my goodness this worked! I'm used to working in VBA, so if I declare an array of size 10, it automatically creates an array of size 11, from 0-10. Technically I guess this makes more...
Hi, thanks for replying. I overwrite those arrays continuously - it should work so that the current chromosome array is copied to the parents, then filled up, and after the fitness function is...
Thanks - I've moved that out, tidies it up a bit.
I have my model in C which runs an evolutionary process, but once I input too large a population or too long an evolutionary period, it fails. For example, I can evolve a (constant) population of 20...
Thank you so much! I looked back at where I had defined the ctrl struct and I hadn't used the * ... I knew this was going to be a facepalm moment, but at least now I know I need to brush up on...
Hi all,
I have a very frustrating issue trying to read formatted input from a file into a struct. I have defined two structs. Main calls the functions to load both. The ctrl struct loads perfectly...