public class Terminator extends DPostDeclaration
DPostDeclaration
.body, event, fluent
Constructor and Description |
---|
Terminator(SimpleSentence event,
SimpleSentence fluent)
Constructor of the class.
|
Terminator(SimpleSentence event,
SimpleSentence fluent,
Clause body)
Constructor of the class.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns the terminator in the form of:
"terminates(event, fluent)".
|
getEvent, getFluent, getGroundFluent
public Terminator(SimpleSentence event, SimpleSentence fluent)
event
- that is defined by this terminator.fluent
- that is terminates by this terminator.public Terminator(SimpleSentence event, SimpleSentence fluent, Clause body)
event
- that is defined by this terminator.fluent
- that is terminates by this terminator.body
- the body of the postcondition.public String toString()
toString
in class Object
Object.toString()