Package com.ibm.wala.dataflow.IFDS
Class SingletonFlowFunction
- java.lang.Object
-
- com.ibm.wala.dataflow.IFDS.SingletonFlowFunction
-
- All Implemented Interfaces:
IFlowFunction,IReversibleFlowFunction,IUnaryFlowFunction
public class SingletonFlowFunction extends Object implements IReversibleFlowFunction
A flow function which has only the edge 0 -> dest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SingletonFlowFunctioncreate(int dest)SparseIntSetgetSources(int i)SparseIntSetgetTargets(int i)
-
-
-
Method Detail
-
getTargets
public SparseIntSet getTargets(int i)
- Specified by:
getTargetsin interfaceIUnaryFlowFunction- Returns:
- set of d2 such that (d1,d2) is an edge in this distributive function's graph representation, or null if there are none
-
getSources
public SparseIntSet getSources(int i)
- Specified by:
getSourcesin interfaceIReversibleFlowFunction- Returns:
- set of d1 such that (d1,d2) is an edge in this distributive function's graph representation, or null if there are none
-
create
public static SingletonFlowFunction create(int dest)
-
-