public static enum AStar.Heuristic extends java.lang.Enum<AStar.Heuristic>
| Enum Constant and Description |
|---|
Chebyshev |
Euclidean |
Manhattan |
SquaredEuclidean |
| Modifier and Type | Method and Description |
|---|---|
static AStar.Heuristic |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AStar.Heuristic[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AStar.Heuristic Manhattan
public static final AStar.Heuristic Chebyshev
public static final AStar.Heuristic Euclidean
public static final AStar.Heuristic SquaredEuclidean
public static AStar.Heuristic[] values()
for (AStar.Heuristic c : AStar.Heuristic.values()) System.out.println(c);
public static AStar.Heuristic 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