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.
Afficher le fichier Open project: encog/encog-silverlight-core Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

DetermineWorkload() public méthode

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.
Résultat System