|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.strbio.mol.lib.ScoreSippl90
public class ScoreSippl90
A scoring function that uses Sippl's 90 parameters, with the frozen approximation.
Version 1.2, 1/20/00 - added k restrictions Version 1.1, 1/12/00 - added self-test main() Version 1.0, 1/7/00 - original version
Sippl90
Field Summary | |
---|---|
static java.lang.String |
defaultFile
the default potential was parameterized using the 681 proteins from Chandonia & Karplus, 1999. |
int |
kHigh
Highest k value to restrict scoring to, or 0 for no restrictions. |
int |
kLow
Lowest k value to restrict scoring to, or 0 for no restrictions. |
Constructor Summary | |
---|---|
ScoreSippl90()
initialize scoring system with default BackbonePotential. |
|
ScoreSippl90(Sippl90 s90)
initialize scoring system from a pre-initialized potential. |
|
ScoreSippl90(java.lang.String filename)
load potential in from a file. |
Method Summary | |
---|---|
void |
describe(Printf outfile)
This should print info about the object to an output file. |
void |
finished(Polymer s,
Polymer f)
This function is called when you are done using the function on a pair. |
static void |
main(java.lang.String[] argv)
|
void |
restrictK(int low,
int high)
Restrict scoring to a range of k values. |
double |
score(Monomer a,
Monomer b)
This function should return a score for aligning two monomers of a polymer, preferably with low = good, high = bad. |
double |
score(Residue a,
Residue b)
This is somewhat hard to read; it is written for speed. |
void |
setup(Polymer s,
Polymer f)
This function is to set up the scoring function for use on a pair. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int kLow
public int kHigh
public static final java.lang.String defaultFile
Constructor Detail |
---|
public ScoreSippl90(java.lang.String filename)
filename
- file namepublic ScoreSippl90(Sippl90 s90)
public ScoreSippl90()
Method Detail |
---|
public void restrictK(int low, int high)
public double score(Monomer a, Monomer b)
ScoreFunction
score
in interface ScoreFunction
public double score(Residue a, Residue b)
public void setup(Polymer s, Polymer f)
ScoreSetup2
setup
in interface ScoreSetup2
public void finished(Polymer s, Polymer f)
ScoreSetup2
finished
in interface ScoreSetup2
public void describe(Printf outfile)
Description
describe
in interface Description
public static final void main(java.lang.String[] argv)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |