Thanks, I actually fixed the code, and it has successfully run, finding the answer of a full string of 0s anywhere from 107 to 141 rounds. I will place the new code here for reference, and so anyone...
Type: Posts; User: JMeacham
Thanks, I actually fixed the code, and it has successfully run, finding the answer of a full string of 0s anywhere from 107 to 141 rounds. I will place the new code here for reference, and so anyone...
You could try to use a Decimal Formatter. Just add the import, and then write the line
DecimalFormat fmt = new DecimalFormat("##.0");
Then use your new formatter on the number you're printing....
I've been working for quite some time on a genetic algorithm and I can't quite seem to figure out what's wrong with it. Am I simply not allowing enough time for the algorithm to run and give good...