Skip navigation links

Package de.citec.tcs.alignment.parallel

This module provides a very basic support for the parallel computing of tasks (Engine class) and entries of a matrix (MatrixEngine).

See: Description

Package de.citec.tcs.alignment.parallel Description

This module provides a very basic support for the parallel computing of tasks (Engine class) and entries of a matrix (MatrixEngine). This is basically just a wrapper around the java standard functionality for parallel computing (mainly the Standard Thread Pool and the Future interface). Additional functionality is provided by the ProgressReporter interface, which can be used as a hook to provide information on the current state of the parallel computing task to other modules or the user. The handling of parallel computation is as follows:
  1. Create the Engine object.
  2. Set parameters of the engine (e.g. the number of threads or the ProgressReporter).
  3. Set the computation tasks that should be computed
  4. Start the computation using the "calculate" method.
  5. Wait for the computation to finish.
  6. Retrieve the result from the engine.
Author:
Benjamin Paassen - bpaassen(at)techfak.uni-bielefeld.de
Skip navigation links

Copyright (C) 2016 Benjamin Paaßen, AG Theoretical Computer Science, Centre of Excellence Cognitive Interaction Technology (CITEC), University of Bielefeld, licensed under the AGPL v. 3: http://openresearch.cit-ec.de/projects/tcs . This documentation is licensed under the conditions of CC-BY-SA 4.0: https://creativecommons.org/licenses/by-sa/4.0/