Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.encog.util.concurrency
Interface MultiThreadable

All Known Implementing Classes:
  Backpropagation, BasicGeneticAlgorithm, ConcurrentJob, EngineConcurrency, GeneticAlgorithm, ManhattanPropagation, NEATTraining, NeuralGeneticAlgorithm, NeuralGeneticAlgorithm.NeuralGeneticAlgorithmHelper, Propagation, PruneIncremental, QuickPropagation, ResilientPropagation, ScaledConjugateGradient

    public interface MultiThreadable

Defines that a class is multi-threadable.

Method Summary
`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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011. All Rights Reserved.