|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.strbio.mol.lib.ScoreList
public class ScoreList
A scoring function return a 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.3, 1/11/00 - added setAlignment Version 1.2, 7/1/99 - added describe Version 1.1, 4/3/98 - added setup, finished functions Version 1.0, 4/1/98 - original version
Field Summary | |
---|---|
ScoreFunction |
func
This encapsulates an object that implements ScoreFunction. |
ScoreList |
next
The next in the list, or null if there are no more scoring functions. |
Constructor Summary | |
---|---|
ScoreList()
make an empty ScoreList node. |
|
ScoreList(ScoreFunction sf)
make a ScoreList node with a ScoreFunction. |
|
ScoreList(ScoreFunction sf,
double w)
make a ScoreList node with a ScoreFunction and a weight. |
Method Summary | |
---|---|
void |
describe(Printf outfile)
Tell scoring functions to describe themselves, if possible. |
void |
finished(Polymer p)
Tell scoring functions you're finished with a given protein, for all scoring functions that implement ScoreSetup. |
void |
finished(Polymer seq,
Polymer fold)
Tell scoring functions you're finished with a given protein pair, for all scoring functions that implement ScoreSetup2. |
void |
normalizeWeights()
make the absolute value of all the weights in this list (starting at this) add up to one. |
void |
setAlignment(Alignment al)
Set up scoring functions with a given Alignment functions that implement AlignmentDependent |
void |
setup(Polymer p)
Set up scoring functions for a given protein, for all scoring functions that implement ScoreSetup. |
void |
setup(Polymer seq,
Polymer fold)
Set up scoring functions for a given protein pair, for all scoring functions that implement ScoreSetup2. |
double |
totalScore(Monomer a,
Monomer b)
return the total score for a monomer pair, from all scoring functions at this point on. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public ScoreFunction func
public ScoreList next
Constructor Detail |
---|
public ScoreList()
public ScoreList(ScoreFunction sf)
public ScoreList(ScoreFunction sf, double w)
Method Detail |
---|
public double totalScore(Monomer a, Monomer b)
public void normalizeWeights()
public void setup(Polymer p)
ScoreSetup
public void setAlignment(Alignment al)
AlignmentDependent
public void finished(Polymer p)
ScoreSetup
public void setup(Polymer seq, Polymer fold)
ScoreSetup2
public void finished(Polymer seq, Polymer fold)
ScoreSetup2
public void describe(Printf outfile)
describe
in interface Description
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |