Class UniversityAgent

java.lang.Object
jadex.bdi.university.UniversityAgent

public class UniversityAgent extends Object
Go to university example taken from Winikoff, Padgham: developing intelligent agent systems, 2004.
  • Field Details

    • agent

      protected jadex.core.IComponent agent
      The bdi agent.
    • raining

      protected boolean raining
      Belief if it is currently raining. Set through an agent argument.
    • waiting

      protected boolean waiting
      Belief if wait time is not too long. Set through an agent argument.
  • Constructor Details

    • UniversityAgent

      public UniversityAgent()
  • Method Details

    • body

      public void body()
      The agent body is executed on startup. It creates and dispatches a come to university goal.
    • tramPlan

      protected void tramPlan(jadex.bdi.runtime.IPlan plan)
      The tram plan for come to university goal. Tram is always a good idea.
    • takeX

      protected void takeX(UniversityAgent.TakeXGoal goal)
      Take X plan for the take X goal.