|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.strbio.mol.lib.pred2ary.Jury
public class Jury
Class that implements a jury of secondary structure prediction networks. This is never in memory at the same time due to size, so all operations are closely linked to operations on streams (either coming over a network, or in a file)
Version 1.0, 6/4/98 - original version
Nested Class Summary | |
---|---|
static interface |
Jury.ProgressIndicator
Indicator to update with verbose output, after every juror finishes. |
Field Summary | |
---|---|
protected java.lang.String |
fileName
Name of file associated with the binary jury data. |
protected int |
nJurors
How many jurors there are in the jury. |
Printf |
outfile
File to print output to. |
Jury.ProgressIndicator |
progress
Indicator to update with verbose output, after every juror. |
Constructor Summary | |
---|---|
Jury(java.lang.String filename)
Create a new jury, given the name of the binary input file. |
Method Summary | |
---|---|
int |
countJurors()
returns the number of jurors in the file networkSet. |
void |
doPrediction(PredictionSet p)
predict 2ary structure. |
boolean |
exists()
see if the file exists on this system. |
java.io.DataInputStream |
getBinaryData()
Open jury for processing. |
java.lang.String |
getName()
Get the filename associated with the jury. |
int |
nJurors()
See how many jurors are in the jury. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int nJurors
protected java.lang.String fileName
public Printf outfile
public Jury.ProgressIndicator progress
Constructor Detail |
---|
public Jury(java.lang.String filename)
Method Detail |
---|
public int nJurors()
public boolean exists()
public java.lang.String getName()
public java.io.DataInputStream getBinaryData() throws java.io.IOException
java.io.IOException
public int countJurors() throws java.io.IOException
java.io.IOException
public void doPrediction(PredictionSet p) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |