de.jstacs.motifDiscovery
Enum MutableMotifDiscovererToolbox.InitMethodForDiffSM

java.lang.Object
  extended by java.lang.Enum<MutableMotifDiscovererToolbox.InitMethodForDiffSM>
      extended by de.jstacs.motifDiscovery.MutableMotifDiscovererToolbox.InitMethodForDiffSM
All Implemented Interfaces:
Serializable, Comparable<MutableMotifDiscovererToolbox.InitMethodForDiffSM>
Enclosing class:
MutableMotifDiscovererToolbox

public static enum MutableMotifDiscovererToolbox.InitMethodForDiffSM
extends Enum<MutableMotifDiscovererToolbox.InitMethodForDiffSM>

This enum defines some constants for the method MutableMotifDiscovererToolbox.getSortedInitialParameters(DifferentiableSequenceScore[], InitMethodForDiffSM[], DiffSSBasedOptimizableFunction, int, OutputStream, int). These constants define how to initialize the DifferentiableSequenceScores.

Author:
Jens Keilwagen

Enum Constant Summary
MOTIF_RANDOMLY
          This constants indicates that the motifs of a MutableMotifDiscoverer should be initialized using MutableMotifDiscoverer.initializeMotifRandomly(int).
NOTHING
          This constants indicates that a DifferentiableSequenceScore should not be initialized, i.e.
PLUG_IN
          This constants indicates that a DifferentiableSequenceScore should be initialized using DifferentiableSequenceScore.initializeFunction(int, boolean, DataSet[], double[][]).
RANDOMLY
          This constants indicates that a DifferentiableSequenceScore should be initialized using DifferentiableSequenceScore.initializeFunctionRandomly(boolean).
 
Method Summary
static MutableMotifDiscovererToolbox.InitMethodForDiffSM valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MutableMotifDiscovererToolbox.InitMethodForDiffSM[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PLUG_IN

public static final MutableMotifDiscovererToolbox.InitMethodForDiffSM PLUG_IN
This constants indicates that a DifferentiableSequenceScore should be initialized using DifferentiableSequenceScore.initializeFunction(int, boolean, DataSet[], double[][]).


MOTIF_RANDOMLY

public static final MutableMotifDiscovererToolbox.InitMethodForDiffSM MOTIF_RANDOMLY
This constants indicates that the motifs of a MutableMotifDiscoverer should be initialized using MutableMotifDiscoverer.initializeMotifRandomly(int).


RANDOMLY

public static final MutableMotifDiscovererToolbox.InitMethodForDiffSM RANDOMLY
This constants indicates that a DifferentiableSequenceScore should be initialized using DifferentiableSequenceScore.initializeFunctionRandomly(boolean).


NOTHING

public static final MutableMotifDiscovererToolbox.InitMethodForDiffSM NOTHING
This constants indicates that a DifferentiableSequenceScore should not be initialized, i.e. the instance is not changed and uses the current parameters.

Method Detail

values

public static MutableMotifDiscovererToolbox.InitMethodForDiffSM[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (MutableMotifDiscovererToolbox.InitMethodForDiffSM c : MutableMotifDiscovererToolbox.InitMethodForDiffSM.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MutableMotifDiscovererToolbox.InitMethodForDiffSM valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null