added docs

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2900 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
yinnon_haviv 2008-06-21 20:32:52 +00:00
parent 7cd9b4cfcc
commit ee863a40f9
1 changed files with 8 additions and 0 deletions

View File

@ -27,6 +27,14 @@ import com.ibm.wala.util.warnings.WalaException;
*/
public class GraphSlicer {
/**
* Performs a backward slice.
* @param <T> type for nodes
* @param g the graph to slice
* @param f identifies targets for the backward slice
* @return the set of nodes in g, from which any of the targets (nodes that f accepts) is reachable.
* @throws WalaException
*/
public static <T> Set<T> slice(Graph<T> g, Filter<T> f) throws WalaException {
if (g == null) {