public enum RouteNodeType extends Enum<RouteNodeType>
Enum Constant and Description |
---|
EXCLUSIVE_SINK_BOTH |
EXCLUSIVE_SINK_EAST |
EXCLUSIVE_SINK_WEST |
EXCLUSIVE_SOURCE |
INACCESSIBLE
Denotes
RouteNode objects that should be treated as being inaccessible and
never queued for exploration during routing. |
LAGUNA_PINFEED
|
LOCAL_BOTH |
LOCAL_EAST |
LOCAL_RESERVED |
LOCAL_WEST |
NON_LOCAL |
SUPER_LONG_LINE
|
Modifier and Type | Field and Description |
---|---|
static RouteNodeType[] |
values |
Modifier and Type | Method and Description |
---|---|
boolean |
isAnyExclusiveSink() |
static boolean |
isAnyExclusiveSink(int ordinal) |
boolean |
isAnyLocal() |
static boolean |
isAnyLocal(int ordinal) |
static RouteNodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RouteNodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouteNodeType EXCLUSIVE_SOURCE
public static final RouteNodeType EXCLUSIVE_SINK_BOTH
public static final RouteNodeType EXCLUSIVE_SINK_EAST
public static final RouteNodeType EXCLUSIVE_SINK_WEST
public static final RouteNodeType SUPER_LONG_LINE
public static final RouteNodeType LAGUNA_PINFEED
public static final RouteNodeType NON_LOCAL
public static final RouteNodeType LOCAL_BOTH
public static final RouteNodeType LOCAL_EAST
public static final RouteNodeType LOCAL_WEST
public static final RouteNodeType LOCAL_RESERVED
public static final RouteNodeType INACCESSIBLE
RouteNode
objects that should be treated as being inaccessible and
never queued for exploration during routing. Typically, these are routing nodes that
have already been created but later discovered to not be needed (e.g. is a dead-end node).public static final RouteNodeType[] values
public static RouteNodeType[] values()
for (RouteNodeType c : RouteNodeType.values()) System.out.println(c);
public static RouteNodeType 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 isAnyExclusiveSink()
public static boolean isAnyExclusiveSink(int ordinal)
public boolean isAnyLocal()
public static boolean isAnyLocal(int ordinal)