public enum LayeringStrategy extends java.lang.Enum<LayeringStrategy>
Enum Constant and Description |
---|
BFS_DIRECTED |
BFS_UNDERICTED |
CONSECUTIVE_LAYERER |
DFS_DIRECTED |
DFS_UNDERICTED |
LONGEST_PATH |
SIMPLEX_LAYERER |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends Layerer> |
getAlgorithm() |
java.lang.String |
toString() |
static LayeringStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LayeringStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LayeringStrategy BFS_DIRECTED
public static final LayeringStrategy BFS_UNDERICTED
public static final LayeringStrategy DFS_DIRECTED
public static final LayeringStrategy DFS_UNDERICTED
public static final LayeringStrategy LONGEST_PATH
public static final LayeringStrategy CONSECUTIVE_LAYERER
public static final LayeringStrategy SIMPLEX_LAYERER
public static LayeringStrategy[] values()
for (LayeringStrategy c : LayeringStrategy.values()) System.out.println(c);
public static LayeringStrategy 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 nullpublic java.lang.Class<? extends Layerer> getAlgorithm()
public java.lang.String toString()
toString
in class java.lang.Enum<LayeringStrategy>