Class CallablePairwiseSequenceScorer<S extends org.biojava.nbio.core.sequence.template.Sequence<C>,​C extends org.biojava.nbio.core.sequence.template.Compound>

  • Type Parameters:
    S - each Sequence of the pair is of type S
    C - each element of a Sequence is a Compound of type C
    All Implemented Interfaces:
    Callable<Double>

    public class CallablePairwiseSequenceScorer<S extends org.biojava.nbio.core.sequence.template.Sequence<C>,​C extends org.biojava.nbio.core.sequence.template.Compound>
    extends Object
    implements Callable<Double>
    Implements a concurrency wrapper for a PairwiseSequenceScorer.
    Author:
    Mark Chapman
    • 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
    • Method Detail

      • call

        public Double call()
        Specified by:
        call in interface Callable<S extends org.biojava.nbio.core.sequence.template.Sequence<C>>