|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<NodeType>
org.encog.ml.prg.extension.NodeType
public enum NodeType
The node type. This mostly determines how opcodes are parsed and rendered. Node types do not generally affect execution.
Enum Constant Summary | |
---|---|
Function
A function. |
|
Leaf
A leaf, or terminal node. |
|
None
Unknown. |
|
OperatorLeft
A left associated operator. |
|
OperatorRight
A right associated operator. |
|
Unary
An unary operator. |
Method Summary | |
---|---|
boolean |
isOperator()
|
static NodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NodeType[] |
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 NodeType OperatorLeft
public static final NodeType OperatorRight
public static final NodeType Leaf
public static final NodeType Function
public static final NodeType Unary
public static final NodeType None
Method Detail |
---|
public static NodeType[] values()
for (NodeType c : NodeType.values()) System.out.println(c);
public static NodeType 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 boolean isOperator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |