Package-level declarations

Types

Link copied to clipboard

Configuration of basic parameters for parallel processing. Please note that parallel computing is only justified for really complex operations. Computationally simple genetic operators such as selection or mutation may be more efficient to execute serially than in parallel.

Link copied to clipboard
class ParallelismConfigScope(workersCount: Int = DEFAULT_PARALLEL_WORKER_COUNT, var dispatcher: CoroutineDispatcher = DEFAULT_PARALLEL_DISPATCHER) : ParallelismConfig

ParallelismConfigScope - Creating ParallelismConfig with Kotlin DSL style.

Properties

Link copied to clipboard

Property for displaying availability of parallel mode of operation.

Functions

Link copied to clipboard

Deep clones the current parallelism configuration.

Link copied to clipboard
fun ParallelismConfig(workersCount: Int = DEFAULT_PARALLEL_WORKER_COUNT, dispatcher: CoroutineDispatcher = DEFAULT_PARALLEL_DISPATCHER): ParallelismConfig