Class CallablePairwiseSequenceScorer<S extends Sequence<C>,​C extends 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:
    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 a PairwiseSequenceScorer.
    Author:
    Mark Chapman
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Double call()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 java.lang.Double call()
        Specified by:
        call in interface java.util.concurrent.Callable<S extends Sequence<C>>