|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
interface SequenceWindowScorer
The Interface SequenceWindowScorer should be implemented by classes
that wants to support scoring in any kind.
Note, that scoring can only be done using the found motifs
(on a sequence), so you should implement the Interface
MotifSearcher as well.
| Field Summary |
|---|
| Fields inherited from interface de.unibi.techfak.jpredictor.motifs.MotifSearcher |
|---|
SEARCH_ALL_ORIENTATIONS, SEARCH_DIRECTION_MAX, SEARCH_DIRECTION_MINUS, SEARCH_DIRECTION_PLUS |
| Method Summary | |
|---|---|
double |
getWeight()
Gets the previously set weight or Double.NaN. |
double |
scoreSequenceWindow(int seqStart,
int seqLength)
Scores a sequence window. |
void |
setWeight(double weight)
Sets the weight for the motif. |
| Methods inherited from interface de.unibi.techfak.jpredictor.motifs.MotifSearcher |
|---|
getSearchMode, initSearch, search, searchAll, setSearchMode |
| Method Detail |
|---|
double getWeight()
Double.NaN.
Double.NaN, if
the weight was not set yet.
void setWeight(double weight)
throws MotifNotCompleteException
weight - The new weight to set.
MotifNotCompleteException - If the motif was not completely
defined yet.
double scoreSequenceWindow(int seqStart,
int seqLength)
seqStart - The start point on the CharSequence.seqLength - The length of the window on the CharSequence.
Double.NaN
in case of error or if the score was not yet set.MotifSearcher.search(int, int),
MotifSearcher.searchAll(int, int)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||