public static enum Dijkstra.Element extends Enum<Dijkstra.Element>
Enum Constant and Description |
---|
EDGE
The length of a path is the sum of the lengths of its edges.
|
EDGE_AND_NODE
The length of a path is the sum of the lengths of its edges and
nodes.
|
NODE
The length of a path is the sum of the lengths of its nodes.
|
Modifier and Type | Method and Description |
---|---|
static Dijkstra.Element |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dijkstra.Element[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Dijkstra.Element EDGE
public static final Dijkstra.Element NODE
public static final Dijkstra.Element EDGE_AND_NODE
public static Dijkstra.Element[] values()
for (Dijkstra.Element c : Dijkstra.Element.values()) System.out.println(c);
public static Dijkstra.Element 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 nullWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses