|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.unibi.techfak.jpredictor.operator.States
class States
Class to use for the communicator as option holder. Here are all fields stored used by the operator inclusive their default values. receiver.
| Nested Class Summary | |
|---|---|
(package private) class |
States.SequenceStore
This class is a wrapper class for holding a sequence object and the type information about it. |
| Field Summary | |
|---|---|
protected boolean |
allowThreadRunning
The flag that decides whether a thread needs to break as soon as possible. |
protected java.lang.String |
distanceMode
Sets the distance mode, that defines the distance between two motifs combined in a DoubleMotif. |
protected java.io.PrintStream |
err
The output stream to which the error messages should be directed. |
protected double |
fixedCutoff
The cutoff for scoring a sequence using weighted motifs. |
static double |
fixedCutoffDefault
The default for the cutoff is Double.NaN. |
protected double[] |
globalBackground
The DNA/RNA character distribution. |
static double[] |
globalCharacterDistributionDefault
The default character distribution for the valid DNA/RNA characters. |
protected boolean |
graphicalOutput
The parameter which controlls whether the user wants to have a graphical output or not. |
protected MotifList |
motifList
The list of motifs that are searched in the window on a sequence. |
protected java.util.Vector |
motifOccurrenceVector
If the graphical output is activated this vector holds all data to show the occurrences of motifs.Initially it is null. |
protected java.io.PrintStream |
out
The standard output stream to which all output should be directed. |
protected java.util.Random |
rand
The random number generator that comes with this class. |
protected java.util.Vector |
scorePlotVector
If the graphical output is activated this vector holds all data to draw a score plot. |
protected long |
seed
The seed of the number generator. |
protected boolean |
sequenceLengthNormalization
Sets, whether the occurrences of motifs on sequences are normalized (divided) by the corresponding sequence' length. |
static boolean |
sequenceLengthNormalizationDefault
The default value whether normalization is wished or not. |
protected States.SequenceStore[] |
sequenceStore
The array to store the sequence informations for the search sequence, the positive and the negativ training set. |
protected static int |
STORE_NEGATIVE_TRAINING_SET
The number of the negative training set in the sequenceStore-Array |
protected static int |
STORE_POSITIVE_TRAINING_SET
The number of the positive training set in the sequenceStore-Array |
protected static int |
STORE_SEQUENCE
The number of the search sequence in the sequenceStore-Array |
protected java.io.PrintStream |
ver
The output stream to which verify messages should be directed. |
protected int |
windowShift
The window for searching and scoring in is shifted on the sequence by this value. |
static int |
windowShiftDefault
The default for shifting the window on a sequence is 10. |
protected int |
windowWidth
The width of the window on a sequence. |
static int |
windowWidthDefault
The default for the width of the window on a sequence is 500. |
| Constructor Summary | |
|---|---|
States()
The simple constructor. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final int STORE_SEQUENCE
protected static final int STORE_POSITIVE_TRAINING_SET
protected static final int STORE_NEGATIVE_TRAINING_SET
protected States.SequenceStore[] sequenceStore
public static final int windowWidthDefault
protected int windowWidth
public static final int windowShiftDefault
protected int windowShift
protected MotifList motifList
public static final boolean sequenceLengthNormalizationDefault
protected boolean sequenceLengthNormalization
ICommunicator.setSequenceLengthNormalization(boolean)protected java.lang.String distanceMode
protected boolean allowThreadRunning
stopRunning() defined in the interface
ICommunicator this flag is set to false and all
running threads should break regulary as soon as possible.
Regulary means, that the thread should send their defined
finishing result to the communicator.
protected java.io.PrintStream out
System.out.
protected java.io.PrintStream err
System.err.
protected java.io.PrintStream ver
PrintStream( new NilOutputStream() )
per default.
protected boolean graphicalOutput
protected java.util.Vector scorePlotVector
null.
protected java.util.Vector motifOccurrenceVector
null.
public static final double fixedCutoffDefault
Double.NaN. This means
that no cutoff is set and when scoring a sequence the single scores
are output.
protected double fixedCutoff
public static final double[] globalCharacterDistributionDefault
protected double[] globalBackground
globalCharacterDistributionDefaultprotected java.util.Random rand
System.currentTimeMillis().
protected long seed
| Constructor Detail |
|---|
States()
out to System.out,
err to System.err, and ver
to NilOutputStream
NilOutputStream
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||