public class Assertion extends Object
| Constructor and Description |
|---|
Assertion(Assertion assertion)
This constructor returns a new assertion as a copy of the provided one.
|
Assertion(int progState,
Assertion parent) |
Assertion(int progState,
Assertion parent,
boolean isContainedInTrace)
This constructor returns a new assertion as a copy of the provided one.
|
Assertion(int progState,
Assertion parent,
de.rwth.i2.attestor.LTLFormula formula) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFormula(de.rwth.i2.attestor.generated.node.Node formula)
This method adds a formula to the list of formulae in case it is not already contained
(otherwise no action is performed).
|
de.rwth.i2.attestor.generated.node.Node |
getFirstFormula() |
Assertion |
getParent() |
int |
getProgramState() |
boolean |
isTrue() |
void |
removeFirstFormula(de.rwth.i2.attestor.generated.node.Node node) |
void |
removeFormula(de.rwth.i2.attestor.generated.node.Node formula) |
void |
setTrue() |
String |
stateIDAndFormulaeToString() |
public Assertion(int progState,
Assertion parent)
public Assertion(int progState,
Assertion parent,
de.rwth.i2.attestor.LTLFormula formula)
public Assertion(Assertion assertion)
assertion, - the assertion to be copiedpublic Assertion(int progState,
Assertion parent,
boolean isContainedInTrace)
public int getProgramState()
public boolean isTrue()
public de.rwth.i2.attestor.generated.node.Node getFirstFormula()
public void removeFormula(de.rwth.i2.attestor.generated.node.Node formula)
public void addFormula(de.rwth.i2.attestor.generated.node.Node formula)
formula, - the formula to be addedpublic void setTrue()
public void removeFirstFormula(de.rwth.i2.attestor.generated.node.Node node)
public String stateIDAndFormulaeToString()
public Assertion getParent()
Copyright © 2018. All rights reserved.