de.unibi.techfak.jpredictor.motifs
Interface MotifSearchWithThreshold

All Superinterfaces:
MotifSearcher
All Known Implementing Classes:
PSPMotif, PSSMotif

interface MotifSearchWithThreshold
extends MotifSearcher

The Interface MotifSearchWithThreshold should be implemented by classes that wants to define methods for searching motifs on sequences, where every position is scored and the threshold is used to distinguish between a hit and none.


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 getThreshold()
           
 void setThreshold(double threshold)
          Sets the threshold.
 
Methods inherited from interface de.unibi.techfak.jpredictor.motifs.MotifSearcher
getSearchMode, initSearch, search, searchAll, setSearchMode
 

Method Detail

setThreshold

void setThreshold(double threshold)
Sets the threshold.

Parameters:
threshold - The new threshold.
See Also:
MotifSearcher.search(int, int)

getThreshold

double getThreshold()
Returns:
The threshold. If none was previously defined Double.NaN is returned.
See Also:
MotifSearcher.search(int, int)