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
AbstractState
s. It
assumes the analysis does merge the AbstractState
s belonging to different CfaNode
s 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)
ReachedSet
add
in interface ReachedSet
public boolean addAll(java.util.Collection<? extends AbstractState> abstractStates)
ReachedSet
addAll
in interface ReachedSet
public boolean remove(AbstractState abstractState)
ReachedSet
remove
in interface ReachedSet
public boolean removeAll(java.util.Collection<?> abstractStates)
ReachedSet
removeAll
in interface ReachedSet
public java.util.Collection<AbstractStateT> asCollection()
ReachedSet
asCollection
in interface ReachedSet
public java.util.Collection<? extends AbstractState> getReached(AbstractState abstractState)
ReachedSet
abstractState
.getReached
in interface ReachedSet
public java.util.Collection<? extends AbstractState> getReached(CfaNodeT location)
location
.