public class GraphReachability<T,S> extends Object
| Constructor and Description |
|---|
GraphReachability(Graph<T> g,
Predicate<? super T> filter) |
| Modifier and Type | Method and Description |
|---|---|
OrdinalSet<S> |
getReachableSet(Object n) |
boolean |
solve(MonitorUtil.IProgressMonitor monitor) |
public GraphReachability(Graph<T> g, Predicate<? super T> filter)
g - call graph to analyzefilter - "interesting" node definitionIllegalArgumentException - if g is nullpublic OrdinalSet<S> getReachableSet(Object n) throws IllegalStateException
IllegalStateExceptionpublic boolean solve(MonitorUtil.IProgressMonitor monitor) throws CancelException
CancelException