public class DetermineWorkload
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MIN_WORTHWHILE
What is the minimum number of workload entries for a thread to be
worthwhile.
|
| Constructor and Description |
|---|
DetermineWorkload(int threads,
int workloadSize)
Determine the workload.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<IntRange> |
calculateWorkers()
Calculate the high and low ranges for each worker.
|
int |
getThreadCount() |
public static final int MIN_WORTHWHILE
public DetermineWorkload(int threads,
int workloadSize)
threads - Threads to use, or zero to allow Encog to pick.workloadSize - Total workload size.public java.util.List<IntRange> calculateWorkers()
public int getThreadCount()