|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ExecutionMode>
p3j.simulation.ExecutionMode
public enum ExecutionMode
Simple enumeration to easily summarise all execution modes.
Enum Constant Summary | |
---|---|
EXHAUSTIVE
Draw parameter instances in highest-overall-probability order. |
|
MONTE_CARLO
Draw parameter instances at random. |
Field Summary | |
---|---|
static String |
DESC_EXHAUSTIVE
The string representation of the exhaustive method. |
static String |
DESC_MONTE_CARLO
The string representation of the monte-carlo method. |
Method Summary | |
---|---|
static ExecutionMode |
forString(String text)
Gets the execution mode associated with the given text. |
String |
getFactoryName()
Gets the parameter assignment generator factory name for a given execution name. |
String |
toString()
|
static ExecutionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ExecutionMode[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ExecutionMode MONTE_CARLO
public static final ExecutionMode EXHAUSTIVE
Field Detail |
---|
public static final String DESC_MONTE_CARLO
public static final String DESC_EXHAUSTIVE
Method Detail |
---|
public static ExecutionMode[] values()
for (ExecutionMode c : ExecutionMode.values()) System.out.println(c);
public static ExecutionMode valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<ExecutionMode>
public static ExecutionMode forString(String text)
text
- the text (retrievable via toString())
public String getFactoryName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |