39 |
|
static final int NCPUS = Runtime.getRuntime().availableProcessors(); |
40 |
|
|
41 |
|
/** Runs start with two threads, increasing by two through max */ |
42 |
< |
static final int DEFAULT_MAX_THREADS = Math.max(4, NCPUS + NCPUS/2); |
42 |
> |
static final int DEFAULT_MAX_THREADS = Math.max(4, NCPUS + NCPUS/2); |
43 |
|
|
44 |
|
/** The number of replication runs per thread value */ |
45 |
|
static final int DEFAULT_REPLICATIONS = 3; |
362 |
|
} |
363 |
|
|
364 |
|
/** |
365 |
< |
* A Subpop maintains a set of chromosomes.. |
365 |
> |
* A Subpop maintains a set of chromosomes. |
366 |
|
*/ |
367 |
|
static final class Subpop { |
368 |
|
/** The chromosomes, kept in sorted order */ |