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 MultiThreadable

  Defines that a class is multi-threadable.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getThreadCount()`
    `void` | `setThreadCount(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.

Copyright © 2014. All Rights Reserved.