Enum Constant and Description |
---|
BACK
Those edges (u, v) connecting a vertex u to an ancestor v in a depth-first tree.
|
CROSS
All other edges.
|
FORWARD
Those nontree edges (u, v) connecting a vertex u to a descendant v in a depth-first
tree.
|
TREE
Edges in a depth-first forest.
|
UNKNOWN
Default edge type
|
Modifier and Type | Method and Description |
---|---|
static EdgeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EdgeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EdgeType UNKNOWN
public static final EdgeType TREE
public static final EdgeType BACK
public static final EdgeType FORWARD
public static final EdgeType CROSS
public static EdgeType[] values()
for (EdgeType c : EdgeType.values()) System.out.println(c);
public static EdgeType 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 namejava.lang.NullPointerException
- if the argument is null