org.encog.util.concurrency
Interface MultiThreadable
-
- All Known Implementing Classes:
- AbstractPrgGenerator, Backpropagation, BasicEA, ConcurrentJob, EngineConcurrency, HessianCR, LevenbergMarquardtTraining, ManhattanPropagation, MLMethodGeneticAlgorithm, MLMethodGeneticAlgorithm.MLMethodGeneticAlgorithmHelper, ParallelScore, PrgFullGenerator, PrgGrowGenerator, Propagation, PruneIncremental, QuickPropagation, RampedHalfAndHalf, ResilientPropagation, ScaledConjugateGradient, TrainEA
public interface MultiThreadableDefines that a class is multi-threadable.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description intgetThreadCount()voidsetThreadCount(int numThreads)Set the number of threads to use.
-
-
-
Method Detail
-
getThreadCount
int getThreadCount()
- Returns:
- The number of threads to use, 0 to automatically determine based on core count.
-
setThreadCount
void setThreadCount(int numThreads)
Set the number of threads to use.- Parameters:
numThreads- The number of threads to use, or zero to automatically determine based on core count.
-
-
DMelt 3.0 © DataMelt by jWork.ORG