R
- The result type of the alignment algorithm.public class ParallelProcessingEngine<R> extends MatrixEngine<R>
MatrixEngine.MatrixCoordinate
Engine.CalculationResult<I,R>
DEFAULT_NUMBER_OF_THREADS
Constructor and Description |
---|
ParallelProcessingEngine(AlignmentAlgorithm<R> algorithm,
Sequence[] sequences)
This sets up a ParallelProcessingEngine for the given AlignmentAlgorithm
and the given Sequences.
|
Modifier and Type | Method and Description |
---|---|
Callable<R> |
createCallable(MatrixEngine.MatrixCoordinate ident)
A method that should create a Callable (computation job) for the given
identifier object.
|
AlignmentAlgorithm<R> |
getAlgorithm() |
Sequence[] |
getSequences() |
createGenericMatrix, extractNumberOfColumns, getDoubleResultMatrix, getM, getN, getResultMatrix, removeDiagonal, setFull, setSpecificTasks, setSpecificTasks, setSpecificTasks, setSpecificTasks, setSymmetric
addTask, addTasks, addTasks, calculate, clearTasks, getIdentClass, getNumberOfThreads, getReporter, getResultClass, getResults, isCancelOnException, removeTask, removeTasks, removeTasks, setCancelOnException, setNumberOfThreads, setReporter
public ParallelProcessingEngine(AlignmentAlgorithm<R> algorithm, Sequence[] sequences)
algorithm
- an AlignmentAlgorithm of your choice.sequences
- an array of Sequences. Per default the
ParallelProcessingEngine will calculate all pairwise alignments between
them.public AlignmentAlgorithm<R> getAlgorithm()
public Sequence[] getSequences()
public Callable<R> createCallable(MatrixEngine.MatrixCoordinate ident)
createCallable
in class Engine<MatrixEngine.MatrixCoordinate,R>
ident
- an identifier.Copyright (C) 2013-2015 Benjamin Paaßen, Georg Zentgraf, 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