public static class ExecutionNodeReader.KeYlessLoopInvariant extends ExecutionNodeReader.AbstractKeYlessExecutionNode<SourceElement> implements IExecutionLoopInvariant
IExecutionLoopInvariant which is independent
from KeY and provides such only children and default attributes.| Modifier and Type | Field and Description |
|---|---|
private boolean |
initiallyValid
Initially valid?
|
INTERNAL_NODE_NAME_END, INTERNAL_NODE_NAME_START| Constructor and Description |
|---|
KeYlessLoopInvariant(IExecutionNode<?> parent,
String name,
String formatedPathCondition,
boolean pathConditionChanged,
boolean initiallyValid)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getElementType()
Returns a human readable element type name.
|
LoopInvariant |
getLoopInvariant()
Returns the used
LoopInvariant. |
While |
getLoopStatement()
Returns the loop statement which is simulated by its loop invariant.
|
boolean |
isInitiallyValid()
Checks if the loop invariant is initially valid.
|
addCallStackEntry, addChild, addCompletedBlock, addConstraint, addVariable, getActivePositionInfo, getActiveStatement, getBlockCompletionCondition, getCallStack, getChildren, getCompletedBlocks, getConstraints, getCurrentLayout, getFormatedBlockCompletionCondition, getFormatedPathCondition, getInitialLayout, getLayoutsCount, getLayoutsEquivalenceClasses, getModalityPIO, getParent, getPathCondition, getVariables, getVariables, isPathConditionChangedgetAppliedRuleApp, getInitConfig, getName, getProof, getProofNode, getProofNodeInfo, getServices, getSettings, isDisposed, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetActivePositionInfo, getActiveStatement, getBlockCompletionCondition, getCallStack, getChildren, getCompletedBlocks, getConstraints, getCurrentLayout, getFormatedBlockCompletionCondition, getFormatedPathCondition, getInitialLayout, getLayoutsCount, getLayoutsEquivalenceClasses, getParent, getPathCondition, getVariables, getVariables, isPathConditionChangedgetAppliedRuleApp, getInitConfig, getModalityPIO, getName, getProof, getProofNode, getProofNodeInfo, getServices, getSettings, isDisposedpublic KeYlessLoopInvariant(IExecutionNode<?> parent, String name, String formatedPathCondition, boolean pathConditionChanged, boolean initiallyValid)
parent - The parent IExecutionNode.name - The name of this node.pathConditionChanged - Is the path condition changed compared to parent?formatedPathCondition - The formated path condition.initiallyValid - Initially valid?public String getElementType()
getElementType in interface IExecutionElementpublic LoopInvariant getLoopInvariant()
LoopInvariant.getLoopInvariant in interface IExecutionLoopInvariantLoopInvariant.public While getLoopStatement()
getLoopStatement in interface IExecutionLoopInvariantpublic boolean isInitiallyValid()
isInitiallyValid in interface IExecutionLoopInvarianttrue initially valid, false initially invalid.