Class IntendedMeans

java.lang.Object
jason.asSemantics.IntendedMeans
All Implemented Interfaces:
ToDOM, Serializable

public class IntendedMeans extends Object implements Serializable, ToDOM
See Also:
  • Field Details

    • unif

      protected Unifier unif
    • planBody

      protected PlanBody planBody
    • plan

      protected Plan plan
    • renamedVars

      protected Unifier renamedVars
    • triggerUnif

      protected Unifier triggerUnif
  • Constructor Details

  • Method Details

    • removeCurrentStep

      public Term removeCurrentStep()
      removes the current action of the IM and returns the term of the body
    • getCurrentStep

      public PlanBody getCurrentStep()
    • insertAsNextStep

      public PlanBody insertAsNextStep(PlanBody pb2add)
    • getPlan

      public Plan getPlan()
    • setUnif

      public void setUnif(Unifier unif)
    • getUnif

      public Unifier getUnif()
    • getTrigger

      public Trigger getTrigger()
      gets the trigger event that caused the creation of this IM
    • setTrigger

      public void setTrigger(Trigger tr)
    • isAtomic

      public boolean isAtomic()
    • isFinished

      public boolean isFinished()
    • isSatisfied

      public boolean isSatisfied(Agent ag)
    • isGoalAdd

      public boolean isGoalAdd()
    • clone

      public Object clone()
      Overrides:
      clone in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getAsTerm

      public Term getAsTerm()
    • getAsDOM

      public Element getAsDOM(Document document)
      get as XML
      Specified by:
      getAsDOM in interface ToDOM