Package com.ibm.wala.dataflow.IFDS
Class IdentityFlowFunction
- java.lang.Object
-
- com.ibm.wala.dataflow.IFDS.IdentityFlowFunction
-
- All Implemented Interfaces:
IFlowFunction
,IReversibleFlowFunction
,IUnaryFlowFunction
public class IdentityFlowFunction extends Object implements IReversibleFlowFunction
A flow function where out == in
-
-
Constructor Summary
Constructors Constructor Description IdentityFlowFunction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SparseIntSet
getSources(int i)
SparseIntSet
getTargets(int i)
static IdentityFlowFunction
identity()
String
toString()
-
-
-
Method Detail
-
getTargets
public SparseIntSet getTargets(int i)
- Specified by:
getTargets
in 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:
getSources
in 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
-
identity
public static IdentityFlowFunction identity()
-
-