Package jason.asSemantics
Class IntendedMeans
java.lang.Object
jason.asSemantics.IntendedMeans
- All Implemented Interfaces:
ToDOM
,java.io.Serializable
public class IntendedMeans extends java.lang.Object implements java.io.Serializable, ToDOM
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected Plan
plan
protected PlanBody
planBody
protected Unifier
renamedVars
private static long
serialVersionUID
private Trigger
trigger
protected Unifier
triggerUnif
protected Unifier
unif
-
Constructor Summary
Constructors Modifier Constructor Description private
IntendedMeans()
IntendedMeans(Option opt, Trigger te)
-
Method Summary
Modifier and Type Method Description java.lang.Object
clone()
org.w3c.dom.Element
getAsDOM(org.w3c.dom.Document document)
get as XMLTerm
getAsTerm()
PlanBody
getCurrentStep()
Plan
getPlan()
Trigger
getTrigger()
gets the trigger event that caused the creation of this IMUnifier
getUnif()
PlanBody
insertAsNextStep(PlanBody pb2add)
boolean
isAtomic()
boolean
isFinished()
boolean
isGoalAdd()
boolean
isSatisfied(Agent ag)
Term
removeCurrentStep()
removes the current action of the IM and returns the term of the bodyvoid
setTrigger(Trigger tr)
void
setUnif(Unifier unif)
java.lang.String
toString()
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
- Constant Field Values
-
unif
-
planBody
-
plan
-
trigger
-
renamedVars
-
triggerUnif
-
-
Constructor Details
-
IntendedMeans
-
IntendedMeans
private IntendedMeans()
-
-
Method Details
-
removeCurrentStep
removes the current action of the IM and returns the term of the body -
getCurrentStep
-
insertAsNextStep
-
getPlan
-
setUnif
-
getUnif
-
getTrigger
gets the trigger event that caused the creation of this IM -
setTrigger
-
isAtomic
public boolean isAtomic() -
isFinished
public boolean isFinished() -
isSatisfied
-
isGoalAdd
public boolean isGoalAdd() -
clone
public java.lang.Object clone()- Overrides:
clone
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
getAsTerm
-
getAsDOM
public org.w3c.dom.Element getAsDOM(org.w3c.dom.Document document)get as XML
-