Search:

Type: Posts; User: JMeacham

Search: Search took 0.08 seconds.

  1. Replies
    3
    Views
    998

    [SOLVED] Re: Help with a simple Genetic Algorithm

    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...
  2. Thread: Problem

    by JMeacham
    Replies
    7
    Views
    1,617

    Re: Problem

    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....
  3. Replies
    3
    Views
    998

    [SOLVED] Help with a simple Genetic Algorithm

    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...
Results 1 to 3 of 3