public class JumpFunctions<N,D,L> extends Object
Modifier and Type | Field and Description |
---|---|
protected com.google.common.collect.Table<D,N,Map<D,EdgeFunction<L>>> |
nonEmptyForwardLookup |
protected Map<N,com.google.common.collect.Table<D,D,EdgeFunction<L>>> |
nonEmptyLookupByTargetNode |
protected com.google.common.collect.Table<N,D,Map<D,EdgeFunction<L>>> |
nonEmptyReverseLookup |
Constructor and Description |
---|
JumpFunctions(EdgeFunction<L> allTop) |
Modifier and Type | Method and Description |
---|---|
void |
addFunction(D sourceVal,
N target,
D targetVal,
EdgeFunction<L> function)
Records a jump function.
|
void |
clear()
Removes all jump functions
|
Map<D,EdgeFunction<L>> |
forwardLookup(D sourceVal,
N target)
Returns, for a given source value and target statement all
associated target values, and for each the associated edge function.
|
Set<com.google.common.collect.Table.Cell<D,D,EdgeFunction<L>>> |
lookupByTarget(N target)
Returns for a given target statement all jump function records with this target.
|
boolean |
removeFunction(D sourceVal,
N target,
D targetVal)
Removes a jump function.
|
Map<D,EdgeFunction<L>> |
reverseLookup(N target,
D targetVal)
Returns, for a given target statement and value all associated
source values, and for each the associated edge function.
|
protected com.google.common.collect.Table<N,D,Map<D,EdgeFunction<L>>> nonEmptyReverseLookup
protected com.google.common.collect.Table<D,N,Map<D,EdgeFunction<L>>> nonEmptyForwardLookup
public JumpFunctions(EdgeFunction<L> allTop)
public void addFunction(D sourceVal, N target, D targetVal, EdgeFunction<L> function)
PathEdge
public Map<D,EdgeFunction<L>> reverseLookup(N target, D targetVal)
public Map<D,EdgeFunction<L>> forwardLookup(D sourceVal, N target)
public Set<com.google.common.collect.Table.Cell<D,D,EdgeFunction<L>>> lookupByTarget(N target)
public boolean removeFunction(D sourceVal, N target, D targetVal)
PathEdge
public void clear()
Copyright © 2021 Secure Software Engineering Group - University of Paderborn. All rights reserved.