|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.unibi.techfak.jpredictor.operator.ScoredSequenceStruct
public class ScoredSequenceStruct
Class for holding the score of one sequence window on one sequence.
It is used by the method scoreSequences() of interface
IOperator.
Within this class are some possible information stored, just like
the sequence number (e.g. within a file), start and end of a
sequence window and of course the corresponding score. All fields
are public for better access.
| Field Summary | |
|---|---|
double |
score
The score of the sequence window on the sequence. |
int |
seqEnd
The end of the sequence window on the sequence. |
int |
seqNumber
The number of the sequences actually processed. |
int |
seqStart
The start of the sequence window on the sequence. |
| Constructor Summary | |
|---|---|
ScoredSequenceStruct()
Simple constructor. |
|
ScoredSequenceStruct(int seqNumber,
int seqStart,
int seqEnd,
double score)
Simple constructor. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
int |
compareTo(java.lang.Object arg)
|
java.lang.String |
out()
Constructs the following String from this struct:
seqNumber:seqStart-seqEnd:score |
void |
reset()
Sets seqNumber, seqStart and
seqEnd to -1, score to
Double.NaN. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public int seqNumber
public int seqStart
public int seqEnd
public double score
| Constructor Detail |
|---|
public ScoredSequenceStruct()
reset().
public ScoredSequenceStruct(int seqNumber,
int seqStart,
int seqEnd,
double score)
seqNumber - seqStart - seqEnd - score - | Method Detail |
|---|
public int compareTo(java.lang.Object arg)
compareTo in interface java.lang.Comparablepublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Object clone()
clone in class java.lang.Objectpublic java.lang.String out()
String from this struct:
seqNumber:seqStart-seqEnd:score
public void reset()
seqNumber, seqStart and
seqEnd to -1, score to
Double.NaN.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||