public final class ProgramLocationDependentReachedSet<CfaNodeT extends CfaNode<CfaEdgeT,SignatureT>,CfaEdgeT extends CfaEdge<CfaNodeT>,AbstractStateT extends AbstractState & ProgramLocationDependent<CfaNodeT,CfaEdgeT,SignatureT>,SignatureT extends Signature> extends java.lang.Object implements ReachedSet
ReachedSet stores ProgramLocationDependent AbstractStates.
It assumes the analysis does merge the AbstractStates belonging to different CfaNodes and stores them in separate bins.| Constructor and Description |
|---|
ProgramLocationDependentReachedSet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(AbstractState abstractState)
Adds an abstract state.
|
boolean |
addAll(java.util.Collection<? extends AbstractState> abstractStates)
Adds multiple abstract states.
|
java.util.Collection<AbstractStateT> |
asCollection()
Returns a collection representation of itself.
|
java.util.Collection<? extends AbstractState> |
getReached(AbstractState abstractState)
Returns a collection of abstract states mergeable with the
abstractState. |
java.util.Collection<? extends AbstractState> |
getReached(CfaNodeT location)
Returns a collection of abstract states belonging to the given
location. |
boolean |
remove(AbstractState abstractState)
Removes an abstract state.
|
boolean |
removeAll(java.util.Collection<?> abstractStates)
Removes multiple abstract states.
|
public boolean add(AbstractState abstractState)
ReachedSetadd in interface ReachedSetpublic boolean addAll(java.util.Collection<? extends AbstractState> abstractStates)
ReachedSetaddAll in interface ReachedSetpublic boolean remove(AbstractState abstractState)
ReachedSetremove in interface ReachedSetpublic boolean removeAll(java.util.Collection<?> abstractStates)
ReachedSetremoveAll in interface ReachedSetpublic java.util.Collection<AbstractStateT> asCollection()
ReachedSetasCollection in interface ReachedSetpublic java.util.Collection<? extends AbstractState> getReached(AbstractState abstractState)
ReachedSetabstractState.getReached in interface ReachedSetpublic java.util.Collection<? extends AbstractState> getReached(CfaNodeT location)
location.