- java.lang.Object
-
- org.biojava.nbio.alignment.template.CallablePairwiseSequenceScorer<S,C>
-
- Type Parameters:
S
- eachSequence
of the pair is of type SC
- each element of aSequence
is aCompound
of type C
- All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Double>
public class CallablePairwiseSequenceScorer<S extends Sequence<C>,C extends Compound> extends java.lang.Object implements java.util.concurrent.Callable<java.lang.Double>
Implements a concurrency wrapper for aPairwiseSequenceScorer
.- Author:
- Mark Chapman
-
-
Constructor Summary
Constructors Constructor Description CallablePairwiseSequenceScorer(PairwiseSequenceScorer<S,C> pss)
Creates a pairwise sequence scoring task for simplified parallel execution.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Double
call()
-
-
-
Constructor Detail
-
CallablePairwiseSequenceScorer
public CallablePairwiseSequenceScorer(PairwiseSequenceScorer<S,C> pss)
Creates a pairwise sequence scoring task for simplified parallel execution.- Parameters:
pss
- already initialized pairwise sequence scorer
-
-