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
ConstructorDescriptionStandardRescoreRefiner
(Alignments.PairInProfileScorerType pips, Alignments.ProfileProfileAlignerType ppa) -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the computation time needed for an alignment computed in nanoseconds.double
Returns maximum possible score.double
Returns minimum possible score.Returns class type of pairwise scoring subroutine.Returns the alignmentProfile
produced by this alignment algorithm.Returns class type of profile-profile alignment subroutine.double
getScore()
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 Details
-
StandardRescoreRefiner
public StandardRescoreRefiner(Alignments.PairInProfileScorerType pips, Alignments.ProfileProfileAlignerType ppa)
-
-
Method Details
-
getPairInProfileScorer
Description copied from interface:RescoreRefiner
Returns class type of pairwise scoring subroutine.- Specified by:
getPairInProfileScorer
in interfaceRescoreRefiner<S extends Sequence<C>,
C extends Compound> - Returns:
- class type of pairwise scoring subroutine
-
getProfileProfileAligner
Description copied from interface:RescoreRefiner
Returns class type of profile-profile alignment subroutine.- Specified by:
getProfileProfileAligner
in interfaceRescoreRefiner<S extends Sequence<C>,
C extends Compound> - Returns:
- class type of profile-profile alignment subroutine
-
getComputationTime
public long getComputationTime()Description copied from interface:Aligner
Returns the computation time needed for an alignment computed in nanoseconds. -
getProfile
Description copied from interface:Aligner
Returns the alignmentProfile
produced by this alignment algorithm. -
getMaxScore
public double getMaxScore()Description copied from interface:Scorer
Returns maximum possible score.- Specified by:
getMaxScore
in interfaceScorer
- Returns:
- maximum possible score
-
getMinScore
public double getMinScore()Description copied from interface:Scorer
Returns minimum possible score.- Specified by:
getMinScore
in interfaceScorer
- Returns:
- minimum possible score
-
getScore
public double getScore()Description copied from interface:Scorer
Returns score resulting from algorithm. This should normalize between 0 and 1 by calculating (Scorer.getScore()
-Scorer.getMinScore()
) / (Scorer.getMaxScore()
-Scorer.getMinScore()
).
-