org.strbio.mol.lib
Class ScoreScaledID
java.lang.Object
org.strbio.mol.lib.ScoreScaledID
- All Implemented Interfaces:
- ScoreFunction
public class ScoreScaledID
- extends java.lang.Object
- implements ScoreFunction
A scoring function that returns a scaled identity matrix.
This is
set up so that a sampling of all calls to score() over
a large set of sequences and folds will average 0.0
with a standard deviation of 1.0.
- Version:
- 1.0, 4/1/98
- Author:
- JMC
Method Summary |
double |
score(char a,
char b)
This scoring function depends only on the residue type |
double |
score(Monomer a,
Monomer b)
Returns EQUAL if monomer types are the same, otherwise NOTEQUAL. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EQUAL
public static final double EQUAL
- See Also:
- Constant Field Values
NOTEQUAL
public static final double NOTEQUAL
- See Also:
- Constant Field Values
ScoreScaledID
public ScoreScaledID()
score
public double score(char a,
char b)
- This scoring function depends only on the residue type
score
public double score(Monomer a,
Monomer b)
- Returns EQUAL if monomer types are the same, otherwise NOTEQUAL.
- Specified by:
score
in interface ScoreFunction