public class Initiator extends DPostDeclaration
DPostDeclaration.body, event, fluent| Constructor and Description |
|---|
Initiator(SimpleSentence event,
SimpleSentence fluent)
Constructor of the class.
|
Initiator(SimpleSentence event,
SimpleSentence fluent,
Clause body)
Constructor of the class.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString()
Returns the initiator in the form of:
"initiates(event, fluent)".
|
getEvent, getFluent, getGroundFluentpublic Initiator(SimpleSentence event, SimpleSentence fluent)
event - that is defined by this initiator.fluent - that is initiates by this initiator.public Initiator(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 ObjectObject.toString()