S - C - public class SubstitutionMatrixScorer<S extends Sequence<C>,C extends Compound> extends AbstractScorer implements PairwiseSequenceScorer<S,C>
| Constructor and Description |
|---|
SubstitutionMatrixScorer(SequencePair<S,C> pair,
SubstitutionMatrix<C> matrix) |
| Modifier and Type | Method and Description |
|---|---|
double |
getMaxScore()
Returns maximum possible score.
|
double |
getMinScore()
Returns minimum possible score.
|
S |
getQuery()
Returns the first sequence of the pair.
|
double |
getScore()
Returns score resulting from algorithm.
|
S |
getTarget()
Returns the second sequence of the pair.
|
getDistance, getDistance, getSimilarity, getSimilarityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDistance, getDistance, getSimilarity, getSimilaritypublic SubstitutionMatrixScorer(SequencePair<S,C> pair, SubstitutionMatrix<C> matrix)
public double getMaxScore()
ScorergetMaxScore in interface Scorerpublic double getMinScore()
ScorergetMinScore in interface Scorerpublic double getScore()
ScorerScorer.getScore() - Scorer.getMinScore()) / (Scorer.getMaxScore() - Scorer.getMinScore()).public S getQuery()
PairwiseSequenceScorerpublic S getTarget()
PairwiseSequenceScorerCopyright © 2000–2018 BioJava. All rights reserved.