public class ExecutionLoopInvariant extends AbstractExecutionNode<SourceElement> implements IExecutionLoopInvariant
IExecutionLoopInvariant.INTERNAL_NODE_NAME_END, INTERNAL_NODE_NAME_START| Constructor and Description |
|---|
ExecutionLoopInvariant(ITreeSettings settings,
Node proofNode)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
LoopInvariantBuiltInRuleApp |
getAppliedRuleApp()
Returns the applied
RuleApp. |
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.
|
protected IExecutionConstraint[] |
lazyComputeConstraints()
Computes the constraints lazily when
AbstractExecutionNode.getConstraints() is
called the first time. |
protected String |
lazyComputeName()
Computes the name of this node lazily when
AbstractExecutionElement.getName()
is called the first time. |
addChild, addCompletedBlock, getActivePositionInfo, getActiveStatement, getBlockCompletionCondition, getCallStack, getChildren, getCompletedBlocks, getConstraints, getCurrentLayout, getFormatedBlockCompletionCondition, getFormatedPathCondition, getInitialLayout, getLayoutExtractor, getLayoutsCount, getLayoutsEquivalenceClasses, getModalityPIO, getParent, getPathCondition, getVariables, getVariables, isPathConditionChanged, lazyComputeBlockCompletionCondition, lazyComputeLayoutExtractor, lazyComputeModalityPIO, lazyComputeVariables, lazyComputeVariables, removeChild, removeCompletedBlock, setCallStack, setParentformatTerm, getInitConfig, getName, getProof, getProofNode, getProofNodeInfo, getServices, getSettings, isDisposed, isNameComputed, setName, 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, isPathConditionChangedgetInitConfig, getModalityPIO, getName, getProof, getProofNode, getProofNodeInfo, getServices, getSettings, isDisposedpublic ExecutionLoopInvariant(ITreeSettings settings, Node proofNode)
settings - The ITreeSettings to use.proofNode - The Node of KeY's proof tree which is represented by this IExecutionNode.public LoopInvariantBuiltInRuleApp getAppliedRuleApp()
RuleApp.getAppliedRuleApp in interface IExecutionElementgetAppliedRuleApp in class AbstractExecutionElementRuleApp.protected String lazyComputeName()
AbstractExecutionElement.getName()
is called the first time.lazyComputeName in class AbstractExecutionElementIExecutionNode.public String getElementType()
getElementType in interface IExecutionElementprotected IExecutionConstraint[] lazyComputeConstraints()
AbstractExecutionNode.getConstraints() is
called the first time.lazyComputeConstraints in class AbstractExecutionNode<SourceElement>IExecutionConstraints of the current state.public 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.