jdsl.graph.api
Interface EdgeDirection
- All Known Implementing Classes:
- IncidenceListGraph
- public interface EdgeDirection
Interface containing constants for specifying which edges are desired in
graph-query methods.
Note that constants can be OR'd together in any combination:
IN | OUT
specifies all directed edges, etc.
Note that you can implement this interface to get notationally
convenient access to the names of the constants. For instance,
an algorithm class could implement this interface
and refer to the constants as IN
rather than
EdgeDirection.IN
, etc.
- Version:
- JDSL 2.1.1
- Author:
- Mark Handy
Field Summary |
static int |
IN
|
static int |
OUT
|
static int |
UNDIR
|
IN
public static final int IN
- See Also:
- Constant Field Values
OUT
public static final int OUT
- See Also:
- Constant Field Values
UNDIR
public static final int UNDIR
- See Also:
- Constant Field Values