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:
$Id: EdgeDirection.java,v 1.4 1999/07/27 21:56:49 mdh Exp $
Author:
Mark Handy

Field Summary
static int IN
           
static int OUT
           
static int UNDIR
           
 

Field Detail

IN

public static final int IN

OUT

public static final int OUT

UNDIR

public static final int UNDIR