|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AlgorithmEnum>
org.opentox.algorithm.AlgorithmEnum
public enum AlgorithmEnum
Enumeration of all available algorithms on the server. If one needs to extend the services to support one more algorithm,this is the place to start.
Nested Class Summary | |
---|---|
private class |
AlgorithmEnum.IteratorImpl
|
Enum Constant Summary | |
---|---|
mlr
Multiple Linear Regression Algorithm. |
|
svc
Support Vector Machines Classification Algorithm. |
|
svm
Support Vector Machines Regression Algorithm. |
|
unknown
Unknown Algorithm. |
Field Summary | |
---|---|
private java.lang.String |
name
The name of the algorithm. |
Method Summary | |
---|---|
static AlgorithmEnum |
getAlgorithmEnum(java.lang.String name)
Returns the AlgorithmEnum enumeration element which has a certain name. |
java.lang.String |
getAlgorithmName()
Returns the name of the algorithm. |
static java.util.Iterator<java.lang.String> |
getIterator()
|
java.util.Iterator<java.lang.String> |
iterator()
Iterator over all algorithm names. |
static AlgorithmEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AlgorithmEnum[] |
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 |
---|
public static final AlgorithmEnum svm
public static final AlgorithmEnum svc
public static final AlgorithmEnum mlr
public static final AlgorithmEnum unknown
Field Detail |
---|
private final java.lang.String name
Method Detail |
---|
public static AlgorithmEnum[] values()
for (AlgorithmEnum c : AlgorithmEnum.values()) System.out.println(c);
public static AlgorithmEnum valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getAlgorithmName()
public static AlgorithmEnum getAlgorithmEnum(java.lang.String name)
unknown
name
- Name of an algorithm (case sensitive)
public java.util.Iterator<java.lang.String> iterator()
iterator
in interface java.lang.Iterable<java.lang.String>
public static java.util.Iterator<java.lang.String> getIterator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |