C# Class Encog.Engine.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.
显示文件 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 ) : Encog.Engine.Util

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 ) : Encog.Engine.Util
threads int Threads to use, or zero to allow Encog to pick.
workloadSize int Total workload size.
return Encog.Engine.Util