public class LocalPathEdges
extends java.lang.Object
| Constructor and Description |
|---|
LocalPathEdges(boolean fastMerge) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPathEdge(int i,
int n,
int j)
Record that in this procedure we've discovered a same-level realizable path from (s_p,d_i) to
(n,d_j)
|
boolean |
contains(int i,
int n,
int j) |
com.ibm.wala.util.intset.IntSet |
getInverse(int n,
int d2)
N.B: If we're using the ZERO_PATH_SHORT_CIRCUIT, then we may have <s_p, d1> -> <n,
d2> implicitly represented since we also have <s_p, 0> -> <n,d2>.
|
com.ibm.wala.util.intset.IntSet |
getReachable(int n)
TODO: optimize this based on altPaths
|
com.ibm.wala.util.intset.IntSet |
getReachable(int n,
int d1) |
com.ibm.wala.util.intset.IntSet |
getReachedNodeNumbers()
TODO: optimize this
|
public LocalPathEdges(boolean fastMerge)
fastMerge - if true, the representation uses extra space in order to support faster merge
operationspublic void addPathEdge(int i,
int n,
int j)
n - local block number of the basic block npublic com.ibm.wala.util.intset.IntSet getInverse(int n,
int d2)
n - local block number of a basic block npublic boolean contains(int i,
int n,
int j)
n - local block number of a basic block npublic com.ibm.wala.util.intset.IntSet getReachable(int n,
int d1)
public com.ibm.wala.util.intset.IntSet getReachable(int n)
n - the local block number of a nodepublic com.ibm.wala.util.intset.IntSet getReachedNodeNumbers()