org.encog.ml.prg.extension
public enum NodeType extends Enum<NodeType>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 nameNullPointerException
- if the argument is nullpublic boolean isOperator()
Copyright © 2014. All Rights Reserved.