public enum SearchOrder extends Enum<SearchOrder>
Enum Constant and Description |
---|
Breadth |
Depth |
ReverseBreadth |
ReverseDepth |
ReverseTopological |
Topological |
Modifier and Type | Method and Description |
---|---|
static <Node,Graph extends org.jgrapht.DirectedGraph> |
getNodeIterator(SearchOrder searchOrder,
Graph graph) |
boolean |
isReversed() |
static SearchOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchOrder Depth
public static final SearchOrder Breadth
public static final SearchOrder Topological
public static final SearchOrder ReverseDepth
public static final SearchOrder ReverseBreadth
public static final SearchOrder ReverseTopological
public static SearchOrder[] values()
for (SearchOrder c : SearchOrder.values()) System.out.println(c);
public static SearchOrder 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 isReversed()
public static <Node,Graph extends org.jgrapht.DirectedGraph> Iterator<Node> getNodeIterator(SearchOrder searchOrder, Graph graph)
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.