com.arsdigita.util
Interface Graphs.EdgeSelector

Enclosing interface:
Graphs

public static interface Graphs.EdgeSelector

See Also:
Graphs.findPath(Graph, Object, Graphs.EdgeSelector, Graphs.NodeSelector)

Method Summary
 boolean test(Graph.Edge edge, boolean forward)
           
 

Method Detail

test

public boolean test(Graph.Edge edge,
                    boolean forward)
Parameters:
edge - the edge to test
forward - the value of false indicates that an edge is to be traversed backwards. Useful, when you want to find a path starting with the destination and working your way back to the source. The value true indicates that edge is being considered for traversal in the natural, forward direction.


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC