parallel-tree-search-0.1.1: Parallel Tree Search

Portabilityportable
Stabilityexperimental
MaintainerSebastian Fischer (sebf@informatik.uni-kiel.de)

Control.Concurrent.ParallelTreeSearch

Description

This Haskell library provides an implementation of parallel search based on the search tree provided by the package tree-monad.

Synopsis

Documentation

parallelTreeSearchSource

Arguments

:: Int

thread limit

-> Int

work limit

-> SearchTree a

search space represented as tree

-> IO [a] 

This function enumerates the results stored in a SearchTree in parallel. It is parameterised by the maximum number of threads to use and the maximum amount of work to perform by each thread before communicating the results.