Package org.biojava.nbio.alignment
Class StandardRescoreRefiner<S extends Sequence<C>,C extends Compound>
- java.lang.Object
-
- org.biojava.nbio.alignment.template.AbstractScorer
-
- org.biojava.nbio.alignment.StandardRescoreRefiner<S,C>
-
- All Implemented Interfaces:
Aligner<S,C>,RescoreRefiner<S,C>,Scorer
public class StandardRescoreRefiner<S extends Sequence<C>,C extends Compound> extends AbstractScorer implements RescoreRefiner<S,C>
-
-
Constructor Summary
Constructors Constructor Description StandardRescoreRefiner(Alignments.PairInProfileScorerType pips, Alignments.ProfileProfileAlignerType ppa)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetComputationTime()Returns the computation time needed for an alignment computed in nanoseconds.doublegetMaxScore()Returns maximum possible score.doublegetMinScore()Returns minimum possible score.Alignments.PairInProfileScorerTypegetPairInProfileScorer()Returns class type of pairwise scoring subroutine.Profile<S,C>getProfile()Returns the alignmentProfileproduced by this alignment algorithm.Alignments.ProfileProfileAlignerTypegetProfileProfileAligner()Returns class type of profile-profile alignment subroutine.doublegetScore()Returns score resulting from algorithm.-
Methods inherited from class org.biojava.nbio.alignment.template.AbstractScorer
getDistance, getDistance, getSimilarity, getSimilarity
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.biojava.nbio.alignment.template.Scorer
getDistance, getDistance, getSimilarity, getSimilarity
-
-
-
-
Constructor Detail
-
StandardRescoreRefiner
public StandardRescoreRefiner(Alignments.PairInProfileScorerType pips, Alignments.ProfileProfileAlignerType ppa)
-
-
Method Detail
-
getPairInProfileScorer
public Alignments.PairInProfileScorerType getPairInProfileScorer()
Description copied from interface:RescoreRefinerReturns class type of pairwise scoring subroutine.- Specified by:
getPairInProfileScorerin interfaceRescoreRefiner<S extends Sequence<C>,C extends Compound>- Returns:
- class type of pairwise scoring subroutine
-
getProfileProfileAligner
public Alignments.ProfileProfileAlignerType getProfileProfileAligner()
Description copied from interface:RescoreRefinerReturns class type of profile-profile alignment subroutine.- Specified by:
getProfileProfileAlignerin interfaceRescoreRefiner<S extends Sequence<C>,C extends Compound>- Returns:
- class type of profile-profile alignment subroutine
-
getComputationTime
public long getComputationTime()
Description copied from interface:AlignerReturns the computation time needed for an alignment computed in nanoseconds.
-
getProfile
public Profile<S,C> getProfile()
Description copied from interface:AlignerReturns the alignmentProfileproduced by this alignment algorithm.
-
getMaxScore
public double getMaxScore()
Description copied from interface:ScorerReturns maximum possible score.- Specified by:
getMaxScorein interfaceScorer- Returns:
- maximum possible score
-
getMinScore
public double getMinScore()
Description copied from interface:ScorerReturns minimum possible score.- Specified by:
getMinScorein interfaceScorer- Returns:
- minimum possible score
-
getScore
public double getScore()
Description copied from interface:ScorerReturns score resulting from algorithm. This should normalize between 0 and 1 by calculating (Scorer.getScore()-Scorer.getMinScore()) / (Scorer.getMaxScore()-Scorer.getMinScore()).
-
-