Check why its not working
Let's go with I gave my thoughts on review (get your code up to standard.) Now you reveal it's not working.
That's far too vague and asking a lot for folk to slog through the entive app.
Pare it down to just the line you can't get to work. Where is that?
Before you post again read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question about COMPOSING A GOOD QUESTION. "It doesn't work" is going to go downhill too fast.
Read this book;
Genetic Algorithms in Java Basics 1st ed. Edition
by Lee Jacobson (Author), Burak Kanber (Author)
PS. https://www.google.com/search?q="thrower"+genetic+algorithm+examples might find working examples but it's a stretch to expect others to read your code to figure out what it does and why it does not work.
Again, avoid "it doesn't work" posts and replies.
I'm sorry for not being so specific, first time asking for help online.
So, I did understand the logics behind a genetic algorithm and I'm trying to apply it without copying anyone's code. I wask kind of succesful, but the population doesn't evolve at all, it keeps creating individuals with random genes.
I think you might also get more input if you posted your code here instead of making people jump through hoops at another site to get to it. Also, this thread will be of no use to anyone else in the event that your code is removed from the other site.
@L. There you used "it" again. To ask me to jump through hoops (nod to RJ) to get the code, decode/read to figure out your logic is quite the high jump.
Where's your design document? That is, in psuedo code or English, how your code works. Sometimes folk proceed right to code which is fine for small things but this isn't a small thing.