public class ArgAbstractState extends AbstractSingleWrapperState
AbstractSingleWrapperState represents a node of
the abstract reachability graph (ARG). It stores the ArgAbstractState
parents and delegates all the AbstractState interfaces
to the wrapped AbstractState.| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<ArgAbstractState> |
parents |
wrappedAbstractState| Constructor and Description |
|---|
ArgAbstractState(AbstractState wrappedAbstractState)
Create a parentless
ArgAbstractState wrapping the given wrappedAbstractState. |
ArgAbstractState(AbstractState wrappedAbstractState,
java.util.List<? extends ArgAbstractState> parents)
Create an ARG node wrapping the given
wrappedAbstractState
and pointing at the parents. |
| Modifier and Type | Method and Description |
|---|---|
void |
addParent(ArgAbstractState abstractState)
Adds a parent ARG node.
|
ArgAbstractState |
copy()
Creates a copy of itself.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<? extends ArgAbstractState> |
getParents()
Returns a list of parent ARG nodes.
|
getPrecision, getWrappedState, getWrappedStateshashCodeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetStateByNameprotected final java.util.List<ArgAbstractState> parents
public ArgAbstractState(AbstractState wrappedAbstractState, java.util.List<? extends ArgAbstractState> parents)
wrappedAbstractState
and pointing at the parents.wrappedAbstractState - an abstract state to be wrappedparents - its ARG parentspublic ArgAbstractState(AbstractState wrappedAbstractState)
ArgAbstractState wrapping the given wrappedAbstractState.wrappedAbstractState - an abstract state to be wrappedpublic ArgAbstractState copy()
AbstractStatecopy in interface AbstractStatecopy in class AbstractSingleWrapperStatepublic boolean equals(java.lang.Object obj)
equals in interface AbstractStateequals in class AbstractWrapperStatepublic java.util.List<? extends ArgAbstractState> getParents()
public void addParent(ArgAbstractState abstractState)