de.unibi.techfak.jpredictor.operator
Class Operator.SearchThread

java.lang.Object
  extended by java.lang.Thread
      extended by de.unibi.techfak.jpredictor.operator.Operator.SearchThread
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
Operator

 class Operator.SearchThread
extends java.lang.Thread

Class which gets a MotifList and either a CharSequence or a SequenceReader (from which the CharSequences are obtained) and which searches the motifs in the list in all sequences by calling for every motif the searchAll-method.
Set the method which is designed to receive the results by setting methodToCall to METHOD_SEARCH, METHOD_CALC or METHOD_SCORE.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
(package private)  java.lang.CharSequence cs
           
(package private)  int methodToCall
           
(package private)  MotifList ml
           
(package private)  SequenceReader reader
           
(package private)  int windowShift
           
(package private)  int windowWidth
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Operator.SearchThread()
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

reader

SequenceReader reader

cs

java.lang.CharSequence cs

ml

MotifList ml

windowWidth

int windowWidth

windowShift

int windowShift

methodToCall

int methodToCall
Constructor Detail

Operator.SearchThread

Operator.SearchThread()
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread