public class CorrectnessTask extends StateTaskBase
Task.Observer, Task.Status
Constructor and Description |
---|
CorrectnessTask(ParamSymbol method,
java.io.File parent,
StateType stateType,
Name[] stateVars,
Name[] stateExcs,
java.util.Vector<TheorySymbol> theories,
Declaration[][] decls,
ErrorStream out)
Construct a partial correctness task for a given method.
|
Modifier and Type | Method and Description |
---|---|
void |
print(java.io.PrintWriter out)
Print linear representation of task.
|
StateProblem |
stateProblem()
Translate task into a proving problem in state logic.
|
classicalProblem
proofNavigatorProblem, reset
setParent
getDirectory, getEvidence, getInfo, getName, getParent, getParentDirectory, getPosition, getStatus, isFinal, isOptional, resume, resumeOnNew, setDirectory, setObserver, setStatus
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
proofNavigatorProblem, reset
getDirectory, getEvidence, getInfo, getName, getParent, getPosition, getStatus, isFinal, isOptional, resume, resumeOnNew, setObserver, setParent, setStatus
public CorrectnessTask(ParamSymbol method, java.io.File parent, StateType stateType, Name[] stateVars, Name[] stateExcs, java.util.Vector<TheorySymbol> theories, Declaration[][] decls, ErrorStream out)
method
- the symbol of a method with a specification.parent
- the parent of the new directory for this taskstateType
- the type of the current state (null, if none)stateVars
- the names of the modifiable variables (null, if none)stateExcs
- the names of the throwable exceptions (null, if none)theories
- the theories on which the following depend in dependence order.decls
- a sequence of declaration lists.out
- the stream to which to write error messages.public void print(java.io.PrintWriter out)
public StateProblem stateProblem()