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