/**
* Init the process.
*/
private void init() {
final DetermineWorkload determine = new DetermineWorkload(
this.numThreads, (int) this.indexable.getRecordCount());
this.workers = new FlatGradientWorker[determine.getThreadCount()];
int index = 0;
// handle CPU
for (final IntRange r : determine.calculateWorkers()) {
this.workers[index++] = new GradientWorkerCPU(this.network.clone(),
this, this.indexable.openAdditional(), r.getLow(),
r.getHigh());
}
}