public class IndexedState extends GeneralProgramState
heap, programCounterINVALID_STATE_SPACE_ID| Constructor and Description |
|---|
IndexedState(HeapConfiguration heap) |
| Modifier and Type | Method and Description |
|---|---|
IndexedState |
clone() |
boolean |
equals(Object other) |
protected SelectorLabel |
getNewSelector(SelectorLabel oldSelectorLabel) |
protected int |
getSelectorTargetOf(int sourceNode,
SelectorLabel selectorLabel) |
protected void |
removeSelector(int sourceNode,
SelectorLabel selectorLabel) |
ProgramState |
shallowCopy()
Creates a shallow copy of this program state in which the underlying heap configuration
is the same as in the copied object.
|
ProgramState |
shallowCopyUpdatePC(int newPC)
Creates a shallow copy of this program state in which the underlying heap configuration is the same as in the
copied object.
|
addAP, flagAsContinueState, getAPs, getConstant, getContainingStateSpace, getHeap, getProgramCounter, getSelectorTarget, getStateSpaceId, getUndefined, getVariableTarget, hashCode, insertNewElement, isContinueState, isFromTopLevelStateSpace, prepareHeap, removeIntermediate, removeVariable, satisfiesAP, setContainingStateSpace, setIntermediate, setProgramCounter, setSelector, setStateSpaceId, setVariable, shallowCopyWithUpdateHeap, size, toString, unflagContinueStatepublic IndexedState(HeapConfiguration heap)
public ProgramState shallowCopy()
ProgramStateprotected int getSelectorTargetOf(int sourceNode,
SelectorLabel selectorLabel)
getSelectorTargetOf in class GeneralProgramStateprotected void removeSelector(int sourceNode,
SelectorLabel selectorLabel)
removeSelector in class GeneralProgramStateprotected SelectorLabel getNewSelector(SelectorLabel oldSelectorLabel)
getNewSelector in class GeneralProgramStatepublic ProgramState shallowCopyUpdatePC(int newPC)
ProgramStatenewPC - The value of the program counter of the copy.public IndexedState clone()
clone in interface ProgramStateclone in class GeneralProgramStateCopyright © 2019. All rights reserved.