C# Class Encog.Util.Concurrency.DetermineWorkload

Used by several Encog training methods to break up a workload. Can also be used to determine the number of threads to use. If zero threads are specified, Encog will query the processor count and determine the best number of threads to use.
Mostrar archivo Open project: encog/encog-silverlight-core Class Usage Examples

Public Methods

Method Description
CalculateWorkers ( ) : IList

Calculate the high and low ranges for each worker.

DetermineWorkload ( int threads, int workloadSize ) : System

Determine the workload.

Method Details

CalculateWorkers() public method

Calculate the high and low ranges for each worker.
public CalculateWorkers ( ) : IList
return IList

DetermineWorkload() public method

Determine the workload.
public DetermineWorkload ( int threads, int workloadSize ) : System
threads int Threads to use, or zero to allow Encog to pick.
workloadSize int Total workload size.
return System