--- jsr166/src/test/loops/TSPExchangerTest.java 2015/01/15 18:34:19 1.18 +++ jsr166/src/test/loops/TSPExchangerTest.java 2015/09/13 16:28:14 1.19 @@ -18,13 +18,13 @@ import java.util.concurrent.locks.*; * A set of worker threads perform updates on subpops. The basic * update step is: *
    - *
  1. Select a breeder b from the subpop - *
  2. Create a strand of its tour with a random starting point and length - *
  3. Offer the strand to the exchanger, receiving a strand from - * another subpop - *
  4. Combine b and the received strand using crossing function to - * create new chromosome c. - *
  5. Replace a chromosome in the subpop with c. + *
  6. Select a breeder b from the subpop + *
  7. Create a strand of its tour with a random starting point and length + *
  8. Offer the strand to the exchanger, receiving a strand from + * another subpop + *
  9. Combine b and the received strand using crossing function to + * create new chromosome c. + *
  10. Replace a chromosome in the subpop with c. *
* * This continues for a given number of generations per subpop.