X
- the class of elements in the left input sequences.Y
- the class of elements in the right input sequences.R
- The result type of the alignment algorithm.public class ParallelProcessingEngine<X,Y,R> extends MatrixEngine<R>
MatrixEngine.MatrixCoordinate
Engine.CalculationResult<I,R>
DEFAULT_NUMBER_OF_THREADS
Constructor and Description |
---|
ParallelProcessingEngine(AlignmentAlgorithm<X,Y,R> algorithm,
List<? extends List<X>> leftSequences,
List<? extends List<Y>> rightSequences)
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.
|
createGenericMatrix, extractNumberOfColumns, getDoubleResultMatrix, getResultMatrix, removeDiagonal, setFull, setSpecificTasks, setSpecificTasks, setSpecificTasks, setSpecificTasks, setSymmetric
addTask, addTasks, addTasks, calculate, clearTasks, getResults, removeTask, removeTasks, removeTasks
public ParallelProcessingEngine(@NonNull AlignmentAlgorithm<X,Y,R> algorithm, @NonNull List<? extends List<X>> leftSequences, @NonNull List<? extends List<Y>> rightSequences)
algorithm
- an AlignmentAlgorithm of your choice.leftSequences
- a list of sequences as left input for the given AlignmentAlgorithm.rightSequences
- a list of sequences as right input for the given AlignmentAlgorithm.public Callable<R> createCallable(MatrixEngine.MatrixCoordinate ident)
Engine
createCallable
in class Engine<MatrixEngine.MatrixCoordinate,R>
ident
- an identifier.Copyright (C) 2016-2018 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/